Skip to content

Commit

Permalink
chore(workflows): switch to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
wingkwong committed Feb 4, 2025
1 parent 8c047e7 commit 4e06ed0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
node-version: 20
registry-url: https://registry.npmjs.org

- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Build website
run: npm run build
run: pnpm run build

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

0 comments on commit 4e06ed0

Please sign in to comment.