Skip to content

Commit

Permalink
Workaround issue with corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
filipsobol committed Mar 1, 2025
1 parent 7590d08 commit 5b60c26
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
check-latest: true
node-version: 20
node-version: 20.18.3
cache: "pnpm"

# https://github.com/nodejs/corepack/issues/627
- run: npm i -g --force corepack && corepack enable

- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v4
with:
check-latest: true
node-version: 20
cache: "pnpm"

# https://github.com/nodejs/corepack/issues/627
- run: npm i -g --force corepack && corepack enable

- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down

0 comments on commit 5b60c26

Please sign in to comment.