Skip to content

Commit 4e68182

Browse files
committed
setup-node does not play nicely with yarn berry
1 parent 80dfac6 commit 4e68182

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/build-test.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,16 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v4
17-
- uses: actions/setup-node@v4
17+
- name: Setup Node.js environment
18+
uses: actions/setup-node@v4
1819
with:
1920
node-version: 20
20-
cache: 'yarn'
21-
- run: corepack enable && corepack install
21+
- name: Configure corepack
22+
run: corepack enable && corepack install
23+
- name: Setup Yarn in Node
24+
uses: actions/setup-node@v4
25+
with:
26+
cache: "yarn"
2227
- name: Install dependencies
2328
run: yarn install --immutable
2429
- run: yarn build

0 commit comments

Comments
 (0)