Skip to content

Commit

Permalink
fix: [Action] Fix setup-node for pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
athdromeda committed Aug 15, 2023
1 parent e5c5284 commit 2615e76
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
node-version: 18
version: 6.32.9
- uses: actions/setup-node@v3
with:
node-version: '14'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
Expand All @@ -48,4 +49,4 @@ jobs:
path: './dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v1

0 comments on commit 2615e76

Please sign in to comment.