File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches : [main]
7+
8+ jobs :
9+ web :
10+ name : Web
11+ runs-on : ubuntu-latest
12+ defaults :
13+ run :
14+ working-directory : web
15+ steps :
16+ - uses : actions/checkout@v4
17+ - uses : pnpm/action-setup@v3
18+ with :
19+ version : 9
20+ - uses : actions/setup-node@v4
21+ with :
22+ node-version : 22
23+ cache : pnpm
24+ cache-dependency-path : web/pnpm-lock.yaml
25+ - run : pnpm install
26+ - run : pnpm lint
27+ - run : pnpm format:check
28+ - run : pnpm exec tsc --noEmit
29+ - run : pnpm build
30+
31+ cms :
32+ name : CMS
33+ runs-on : ubuntu-latest
34+ defaults :
35+ run :
36+ working-directory : cms
37+ steps :
38+ - uses : actions/checkout@v4
39+ - uses : pnpm/action-setup@v3
40+ with :
41+ version : 9
42+ - uses : actions/setup-node@v4
43+ with :
44+ node-version : 22
45+ cache : pnpm
46+ cache-dependency-path : cms/pnpm-lock.yaml
47+ - run : pnpm install
48+ - run : pnpm lint
49+ - run : pnpm exec tsc --noEmit
50+ - run : pnpm build
51+ env :
52+ PAYLOAD_SECRET : ${{ secrets.PAYLOAD_SECRET }}
53+ DATABASE_URL : ${{ secrets.DATABASE_URL }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments