Skip to content

Commit 654e45d

Browse files
committed
Enable corepack before running node setup action, workaround bug actions/setup-node#480
1 parent 4860463 commit 654e45d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/actions/setup-env/action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ inputs:
2424
runs:
2525
using: "composite"
2626
steps:
27+
- name: Enable Corepack
28+
if: ${{ inputs.install-node == 'true' }}
29+
run: corepack enable
2730
- name: Use Node.js
2831
if: ${{ inputs.install-node == 'true' }}
2932
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)