Skip to content

Commit b122a4b

Browse files
committed
fix(ci): switch out npm for pnpm
1 parent 4a106a0 commit b122a4b

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/deploy.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,31 @@ jobs:
3030
steps:
3131
- name: Checkout
3232
uses: actions/checkout@v4
33+
34+
- name: Setup pnpm
35+
uses: pnpm/action-setup@v4
36+
3337
- name: Set up Node
3438
uses: actions/setup-node@v4
3539
with:
3640
node-version: lts/*
37-
cache: 'npm'
41+
cache: 'pnpm'
42+
3843
- name: Install dependencies
39-
run: npm ci
44+
run: pnpm install --no-frozen-lockfile
45+
4046
- name: Build
41-
run: npm run build
47+
run: pnpm run build
48+
4249
- name: Setup Pages
4350
uses: actions/configure-pages@v5
51+
4452
- name: Upload artifact
4553
uses: actions/upload-pages-artifact@v3
4654
with:
4755
# Upload dist folder
4856
path: './dist'
57+
4958
- name: Deploy to GitHub Pages
5059
id: deployment
5160
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)