Skip to content

Commit c61f067

Browse files
committed
Fix: Enable Corepack before setup-node in release workflow
- Remove corepack: true from setup-node (not working with pinned version) - Add separate 'Enable Corepack' step before setup-node - Matches the pattern used in tests.yml that works correctly
1 parent 3b6d817 commit c61f067

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ jobs:
2828
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
2929
name: Checkout repository
3030

31+
- name: Enable Corepack
32+
run: corepack enable
33+
3134
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
3235
name: Use Node.js 20.x
3336
with:
3437
node-version: '20.x'
3538
registry-url: 'https://registry.npmjs.org'
36-
corepack: true
3739

3840
- name: Install dependencies
3941
uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3

0 commit comments

Comments
 (0)