File tree Expand file tree Collapse file tree 6 files changed +18
-13
lines changed Expand file tree Collapse file tree 6 files changed +18
-13
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,13 @@ jobs:
2020 steps :
2121 - uses : actions/checkout@v5
2222 - uses : actions/configure-pages@v5
23+ - uses : pnpm/action-setup@v4
2324 - uses : actions/setup-node@v5
2425 with :
2526 node-version : 24
26- cache : npm
27- - run : npm ci
28- - run : npm run build --workspaces --if-present
27+ cache : pnpm
28+ - run : pnpm install --lockfile-only
29+ - run : pnpm run --recursive build
2930 - run : rm -rf node_modules
3031 - uses : actions/upload-pages-artifact@v4
3132 with :
Original file line number Diff line number Diff line change 66
77 steps :
88 - uses : actions/checkout@v5
9+ - uses : pnpm/action-setup@v4
910 - uses : actions/setup-node@v5
1011 with :
1112 node-version : 24
12- cache : npm
13- - run : npm install
14- - run : npm run build
15- - run : npm run check --workspaces --if-present
13+ cache : pnpm
14+ - run : pnpm install --lockfile-only
15+ - run : pnpm run build
16+ - run : pnpm run --recursive check
Original file line number Diff line number Diff line change @@ -10,10 +10,11 @@ jobs:
1010
1111 steps :
1212 - uses : actions/checkout@v5
13+ - uses : pnpm/action-setup@v4
1314 - uses : actions/setup-node@v5
1415 with :
1516 node-version : 24
16- cache : npm
17+ cache : pnpm
1718 - uses : preactjs/compressed-size-action@v2
1819 with :
1920 compression : brotli
Original file line number Diff line number Diff line change 99
1010 steps :
1111 - uses : actions/checkout@v5
12+ - uses : pnpm/action-setup@v4
1213 - uses : actions/setup-node@v5
1314 with :
1415 node-version : 24
15- cache : npm
16- - run : npm ci
17- - run : npm run build
16+ cache : pnpm
17+ - run : pnpm install --lockfile-only
18+ - run : pnpm run build
1819 - name : Disable AppArmor for chromium
1920 run : echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns || true
20- - run : npm run test
21+ - run : pnpm run test
2122 - if : always()
2223 uses : coverallsapp/github-action@v2
2324 with :
Original file line number Diff line number Diff line change 1313 "format" : " prettier --write . --cache" ,
1414 "check" : " tsc" ,
1515 "test" : " node scripts/test/main.ts 'src/{client,server}/tests/*.test.ts'" ,
16- "test:prod" : " npm run test -- --prod" ,
16+ "test:prod" : " pnpm run test -- --prod" ,
1717 "bench" : " node scripts/test/main.ts --prod --bench 'src/{client,server}/tests/bench.ts'"
1818 },
1919 "devDependencies" : {
Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ packages:
66catalog :
77 typescript : ~5.8
88
9+ includeWorkspaceRoot : true
You can’t perform that action at this time.
0 commit comments