Skip to content

Commit bdab098

Browse files
authored
Use corepack in CI to avoid latest yarn version installation (#29)
2 parents 6e3a6c0 + 8cffe7a commit bdab098

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@ jobs:
1818
node-version: "22.11.0"
1919
registry-url: "https://registry.npmjs.org"
2020

21-
- name: Install yarn
21+
- name: Install corepack
2222
run: |
23-
npm i -g yarn
23+
npm install -g corepack
24+
25+
- name: Enable corepack
26+
run: |
27+
corepack enable
2428
2529
- name: Install dependencies
2630
run: yarn

0 commit comments

Comments
 (0)