@@ -21,15 +21,15 @@ jobs:
2121 uses : actions/setup-node@v4
2222 with :
2323 node-version : ${{ env.NODE_VERSION }}
24- cache : ' npm '
24+ cache : ' pnpm '
2525 - name : Install dependencies
26- run : npm run install:all
26+ run : pnpm install
2727 - name : Compile
28- run : npm run compile
28+ run : pnpm compile
2929 - name : Check types
30- run : npm run check-types
30+ run : pnpm check-types
3131 - name : Lint
32- run : npm run lint
32+ run : pnpm lint
3333
3434 check-translations :
3535 runs-on : ubuntu-latest
@@ -39,10 +39,10 @@ jobs:
3939 - name : Setup Node.js
4040 uses : actions/setup-node@v4
4141 with :
42- node-version : ' 18 '
43- cache : ' npm '
42+ node-version : ${{ env.NODE_VERSION }}
43+ cache : ' pnpm '
4444 - name : Install dependencies
45- run : npm run install:all
45+ run : pnpm install
4646 - name : Verify all translations are complete
4747 run : node scripts/find-missing-translations.js
4848
@@ -54,12 +54,12 @@ jobs:
5454 - name : Setup Node.js
5555 uses : actions/setup-node@v4
5656 with :
57- node-version : ' 18 '
58- cache : ' npm '
57+ node-version : ${{ env.NODE_VERSION }}
58+ cache : ' pnpm '
5959 - name : Install dependencies
60- run : npm run install:all
60+ run : pnpm install
6161 - name : Run knip checks
62- run : npm run knip
62+ run : pnpm knip
6363
6464 test-extension :
6565 runs-on : ${{ matrix.os }}
@@ -73,11 +73,11 @@ jobs:
7373 uses : actions/setup-node@v4
7474 with :
7575 node-version : ${{ env.NODE_VERSION }}
76- cache : ' npm '
76+ cache : ' pnpm '
7777 - name : Install dependencies
78- run : npm run install:all
78+ run : pnpm install
7979 - name : Compile (to build and copy WASM files)
80- run : npm run compile
80+ run : pnpm compile
8181 - name : Run unit tests
8282 run : npx jest --silent
8383
@@ -92,10 +92,10 @@ jobs:
9292 - name : Setup Node.js
9393 uses : actions/setup-node@v4
9494 with :
95- node-version : ' 18 '
96- cache : ' npm '
95+ node-version : ${{ env.NODE_VERSION }}
96+ cache : ' pnpm '
9797 - name : Install dependencies
98- run : npm run install:all
98+ run : pnpm install
9999 - name : Run unit tests
100100 working-directory : webview-ui
101101 run : npx jest --silent
@@ -133,12 +133,12 @@ jobs:
133133 uses : actions/setup-node@v4
134134 with :
135135 node-version : ${{ env.NODE_VERSION }}
136- cache : ' npm '
136+ cache : ' pnpm '
137137 - name : Install dependencies
138- run : npm run install:all
138+ run : pnpm install
139139 - name : Create .env.local file
140140 working-directory : e2e
141141 run : echo "OPENROUTER_API_KEY=${{ secrets.OPENROUTER_API_KEY }}" > .env.local
142142 - name : Run integration tests
143143 working-directory : e2e
144- run : xvfb-run -a npm run ci
144+ run : xvfb-run -a pnpm ci
0 commit comments