Skip to content

Commit ce55b56

Browse files
committed
ci(workflows/ci): setup node before enabling corepack
1 parent 4f9db59 commit ce55b56

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,15 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222

23+
- name: Setup target Node.js to enable Corepack
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: ${{ matrix.node }}
27+
2328
- name: Enable Corepack
2429
run: corepack enable
2530

26-
- name: Setup Node.js ${{ matrix.node }}
31+
- name: Setup Node.js ${{ matrix.node }} with cache
2732
uses: actions/setup-node@v4
2833
with:
2934
node-version: ${{ matrix.node }}

0 commit comments

Comments
 (0)