Skip to content

Commit 812ef37

Browse files
committed
feat: add GitHub Pages deploy workflow with pnpm
1 parent a25458c commit 812ef37

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,15 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@v4
24+
- uses: pnpm/action-setup@v4
25+
with:
26+
version: 9
2427
- uses: actions/setup-node@v4
2528
with:
2629
node-version: 20
27-
cache: 'npm'
28-
- run: npm ci
29-
- run: npm run build
30+
cache: 'pnpm'
31+
- run: pnpm install
32+
- run: pnpm run build
3033
- uses: actions/upload-pages-artifact@v3
3134
with:
3235
path: ./dist

0 commit comments

Comments
 (0)