Skip to content

Commit b30da21

Browse files
corepack first for correct yarn version
1 parent d23cbab commit b30da21

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ inputs:
1010
runs:
1111
using: composite
1212
steps:
13+
- name: Enable corepack
14+
shell: bash
15+
run: corepack enable
16+
1317
- name: Setup Node.js
1418
uses: actions/setup-node@v4
1519
with:
1620
node-version-file: ".nvmrc"
1721
cache: "yarn"
1822

19-
- name: Enable corepack
20-
shell: bash
21-
run: corepack enable
22-
2323
- name: Restore node_modules
2424
if: inputs.restore-cache == 'true'
2525
uses: actions/cache/restore@v4

0 commit comments

Comments
 (0)