Skip to content

Commit

Permalink
chore: pin pnpm v8
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry committed May 10, 2024
1 parent 66da219 commit b2b023b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/actions/install-node-and-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,14 @@ runs:
run: corepack enable
shell: bash

- name: Pin pnpm to v8
run: npm i -g pnpm@8
- name: Install pnpm v8
run: corepack install -g pnpm@8
shell: bash
env:
COREPACK_ENABLE_AUTO_PIN: "0"

- run: pnpm --version
- name: Print installed pnpm version
run: pnpm --version
shell: bash

- name: Use Yarn classic
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/other-node-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,14 @@ jobs:
run: corepack enable
shell: bash

- name: Pin pnpm to v8
run: npm i -g pnpm@8
- name: Install pnpm v8
run: corepack install -g pnpm@8
shell: bash

- run: pnpm --version
env:
COREPACK_ENABLE_AUTO_PIN: "0"

- name: Print installed pnpm version
run: pnpm --version
shell: bash

- name: Run parallel distributed builds and tests on each node version
Expand Down

0 comments on commit b2b023b

Please sign in to comment.