mirror of
https://github.com/lone-cloud/prism
synced 2026-06-03 08:43:10 -07:00
28 lines
508 B
YAML
28 lines
508 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setup Bun
|
|
uses: oven-sh/setup-bun@v2
|
|
with:
|
|
bun-version: 1.3.6
|
|
|
|
- name: Install dependencies
|
|
run: bun install && cd server && bun install
|
|
|
|
- name: Lint and type check
|
|
run: cd server && bun run check
|
|
|
|
- name: Build server
|
|
run: cd server && bun run build
|
|
|