Skip to content

Commit

Permalink
fix: load pnpm before cached node action
Browse files Browse the repository at this point in the history
  • Loading branch information
ubermanu committed Sep 24, 2023
1 parent e4fea1e commit 64612b7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v2
with:
node-version: '19.x'
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm i
- run: pnpm build
3 changes: 3 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v2
with:
node-version: '19.x'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ jobs:
needs: [release]
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v2
with:
node-version: '19.x'
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm i
- run: pnpm zip
- name: Upload Release Extension
Expand Down

0 comments on commit 64612b7

Please sign in to comment.