Skip to content

Commit

Permalink
disable corepack in GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
theoephraim committed Feb 2, 2025
1 parent ba4d422 commit 7ef459b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ jobs:
# but we need more history to be able to compare to main
# TODO: ideally we would just fetch the history between origin/main and the current commit
fetch-depth: 0
- name: Enable Corepack
run: corepack enable
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9.15
run_install: false
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9.15
run_install: false
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit 7ef459b

Please sign in to comment.