Skip to content

Commit 4e06ed0

Browse files
committed
chore(workflows): switch to pnpm
1 parent 8c047e7 commit 4e06ed0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,16 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16+
- uses: pnpm/action-setup@v4
1617
- uses: actions/setup-node@v4
1718
with:
18-
node-version: 18
19-
cache: npm
19+
node-version: 20
20+
registry-url: https://registry.npmjs.org
2021

2122
- name: Install dependencies
22-
run: npm ci
23+
run: pnpm install --frozen-lockfile
2324
- name: Build website
24-
run: npm run build
25+
run: pnpm run build
2526

2627
# Popular action to deploy to GitHub Pages:
2728
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus

0 commit comments

Comments
 (0)