Skip to content

Commit abce0ad

Browse files
committed
Use pnpm for github action
1 parent 8c33c23 commit abce0ad

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,24 @@ jobs:
3030
working-directory: ./kmonadx-wasm
3131
run: wasm-pack build --target web
3232

33+
- name: Install pnpm
34+
uses: pnpm/action-setup@v4
35+
with:
36+
version: 9
37+
# don't run install yet because we want to use the cache
38+
run_install: false
39+
3340
- name: Setup Node.js
3441
uses: actions/setup-node@v4
3542
with:
3643
node-version: '20'
37-
cache: 'npm'
44+
cache: 'pnpm'
3845

3946
- name: Install dependencies
40-
run: npm ci
47+
run: pnpm ci
4148

4249
- name: Build website
43-
run: npm run build
50+
run: pnpm run build
4451

4552
- name: Upload artifact
4653
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)