Skip to content

Commit 32926ce

Browse files
committed
đź“„ Update GitHub Actions workflow to use pnpm for dependency management and build process
1 parent f255e7f commit 32926ce

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎.github/workflows/github-page.yml‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,15 @@ jobs:
2222
uses: actions/setup-node@v4
2323
with:
2424
node-version: '18.x'
25+
- name: Setup pnpm
26+
uses: actions/setup-pnpm@v4
27+
with:
28+
version: 8
2529
- name: Build static files
2630
id: build
2731
run: |
28-
npm install
29-
npm run build
32+
pnpm install
33+
pnpm run build
3034
- name: Upload static files as artifact
3135
id: deployment
3236
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)