Repository navigation
56 lines (42 loc) · 1.37 KB
/
Copy pathci.yml
File metadata and controls
56 lines (42 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Unit tests (core)
run: pnpm test
- name: Type-check
run: pnpm check
- name: Build frontend
run: pnpm build
backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Bogdanp/setup-racket@v1.11
with:
version: stable
# Pinned to the glaze main head carrying the G4 native-host
# conformance matrix (green on all three OSes); flip to the next
# tagged release (v0.18.0) once it exists.
- name: Install glaze
run: raco pkg install --auto --no-docs --skip-installed git+https://github.com/turinglambdaai/glaze.git#bb98ae60ad9e2e8a59bf61ee1144141f3de96f35
# the updater verifies manifests through the crypto package (libcrypto
# FFI bundled with the Racket distribution)
- name: Install crypto
run: raco pkg install --auto --no-docs --skip-installed crypto
- name: Backend tests
run: raco test backend/
- name: Application schema compatibility
run: raco glaze schema check --json