Skip to content

Commit 4a6dca4

Browse files
author
vhtmui
committed
uses pnpm
1 parent c3f099f commit 4a6dca4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy to GitHub Pages
22

33
on:
44
push:
5-
branches: 'main'
5+
branches: 'master'
66

77
jobs:
88
build_site:
@@ -21,16 +21,16 @@ jobs:
2121
uses: actions/setup-node@v4
2222
with:
2323
node-version: 20
24-
cache: npm
24+
cache: pnpm
2525

2626
- name: Install dependencies
27-
run: npm i
27+
run: pnpm i
2828

2929
- name: build
3030
env:
3131
BASE_PATH: '/${{ github.event.repository.name }}'
3232
run: |
33-
npm run build
33+
pnpm run build
3434
3535
- name: Upload Artifacts
3636
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)