Skip to content

Commit ff2dc7c

Browse files
committed
try pnpm
1 parent 9d70516 commit ff2dc7c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/deploy-vite.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,19 @@ jobs:
3232
steps:
3333
- name: Checkout
3434
uses: actions/checkout@v4
35+
- name: Set Up pnpm
36+
uses: pnpm/action-setup@v4
37+
with:
38+
version: 8
3539
- name: Set up Node
3640
uses: actions/setup-node@v4
3741
with:
3842
node-version: 20
39-
cache: 'npm'
43+
cache: 'pnpm'
4044
- name: Install dependencies
41-
run: npm ci
45+
run: pnpm ci
4246
- name: Build
43-
run: npm run build
47+
run: pnpm run build
4448
- name: Setup Pages
4549
uses: actions/configure-pages@v4
4650
- name: Upload artifact

0 commit comments

Comments
 (0)