blob: b5b2503e49a3bcedeb401d8d6331d331c2ea2cb7 (
plain)
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
|
name: CI
on:
push:
branches: [main]
jobs:
frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install frontend dependencies
run: cd frontend && npm ci
- name: Generate code
run: cd frontend && npm run generate
- name: Lint
run: cd frontend && npm run check
- name: Build
run: cd frontend && npm run build
backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
- name: Install just
uses: extractions/setup-just@v3
- name: Generate code
run: cd backend && just generate
- name: Lint
run: cd backend && just check
- name: Build
run: cd backend && just build
|