Skip to content

Commit 3527cfe

Browse files
committed
Fix yarn
1 parent ef389b3 commit 3527cfe

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
2323
with:
2424
node-version-file: "package.json"
25+
- name: Install Yarn (if not yet installed)
26+
run: yarn --version || npm install -g yarn@1.22.22
2527
- name: Install dependencies
2628
run: yarn install --ignore-engines --ignore-scripts --frozen-lockfile
2729
- name: Lint
@@ -221,6 +223,9 @@ jobs:
221223
with:
222224
node-version: ${{ matrix.node }}
223225

226+
- name: Install Yarn (if not yet installed)
227+
run: yarn --version || npm install -g yarn@1.22.22
228+
224229
- name: Increase yarn network timeout on Windows
225230
if: contains(matrix.os, 'windows')
226231
run: yarn config set network-timeout 600000 -g
@@ -332,6 +337,9 @@ jobs:
332337
with:
333338
node-version-file: "package.json"
334339

340+
- name: Install Yarn (if not yet installed)
341+
run: yarn --version || npm install -g yarn@1.22.22
342+
335343
- name: Install dependencies
336344
run: yarn install --ignore-engines --ignore-scripts --frozen-lockfile
337345

0 commit comments

Comments
 (0)