Skip to content

Commit

Permalink
Use pnpm/action-setup
Browse files Browse the repository at this point in the history
- Fixes missing pnpm executable CI error
  • Loading branch information
Pytal committed Aug 8, 2021
1 parent 3a960c7 commit 37cc6f7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 6
- uses: actions/setup-node@v2
with:
node-version: 16
cache: pnpm
registry-url: https://registry.npmjs.org
- name: Setup pnpm
run: npm add -g pnpm@6
- name: Install dependencies
run: pnpm install
- name: Check formatting
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 6
- uses: actions/setup-node@v2
with:
node-version: 16
cache: pnpm
registry-url: https://registry.npmjs.org
- name: Setup pnpm
run: npm add -g pnpm@6
- name: Install dependencies
run: pnpm install
- name: Check formatting
Expand Down

0 comments on commit 37cc6f7

Please sign in to comment.