1111 paths :
1212 - ' calm-suite/calm-guard/**'
1313 - ' .github/workflows/build-calm-guard.yml'
14+ - ' package.json'
15+ - ' package-lock.json'
1416 push :
1517 branches :
1618 - ' main'
1719 - ' release*'
1820 paths :
1921 - ' calm-suite/calm-guard/**'
2022 - ' .github/workflows/build-calm-guard.yml'
21-
22- defaults :
23- run :
24- working-directory : calm-suite/calm-guard
23+ - ' package.json'
24+ - ' package-lock.json'
2525
2626jobs :
2727 lint :
@@ -31,26 +31,21 @@ jobs:
3131 - name : Checkout
3232 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3333
34- - name : Install pnpm
35- uses : pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
36- with :
37- package_json_file : calm-suite/calm-guard/package.json
38-
3934 - name : Setup Node.js
40- uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
35+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
4136 with :
42- node-version : 22
43- cache : pnpm
44- cache-dependency-path : calm-suite/calm-guard/pnpm- lock.yaml
37+ node-version : 24
38+ cache : npm
39+ cache-dependency-path : package- lock.json
4540
4641 - name : Install dependencies
47- run : pnpm install --frozen-lockfile
42+ run : npm ci
4843
4944 - name : Lint
50- run : pnpm lint
45+ run : npm run lint --workspace=calmguard
5146
5247 - name : Typecheck
53- run : pnpm typecheck
48+ run : npm run typecheck --workspace=calmguard
5449
5550 test :
5651 name : Test
@@ -60,23 +55,18 @@ jobs:
6055 - name : Checkout
6156 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
6257
63- - name : Install pnpm
64- uses : pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
65- with :
66- package_json_file : calm-suite/calm-guard/package.json
67-
6858 - name : Setup Node.js
69- uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
59+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
7060 with :
71- node-version : 22
72- cache : pnpm
73- cache-dependency-path : calm-suite/calm-guard/pnpm- lock.yaml
61+ node-version : 24
62+ cache : npm
63+ cache-dependency-path : package- lock.json
7464
7565 - name : Install dependencies
76- run : pnpm install --frozen-lockfile
66+ run : npm ci
7767
7868 - name : Run tests
79- run : pnpm test:run
69+ run : npm run test:run --workspace=calmguard
8070
8171 build :
8272 name : Build
@@ -88,20 +78,15 @@ jobs:
8878 - name : Checkout
8979 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
9080
91- - name : Install pnpm
92- uses : pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4
93- with :
94- package_json_file : calm-suite/calm-guard/package.json
95-
9681 - name : Setup Node.js
97- uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
82+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
9883 with :
99- node-version : 22
100- cache : pnpm
101- cache-dependency-path : calm-suite/calm-guard/pnpm- lock.yaml
84+ node-version : 24
85+ cache : npm
86+ cache-dependency-path : package- lock.json
10287
10388 - name : Install dependencies
104- run : pnpm install --frozen-lockfile
89+ run : npm ci
10590
10691 - name : Build
107- run : pnpm build
92+ run : npm run build --workspace=calmguard
0 commit comments