Skip to content

Commit 902f2ae

Browse files
committed
fix: enable Corepack before the Yarn cache in the remaining actions
1 parent 83c7737 commit 902f2ae

3 files changed

Lines changed: 21 additions & 5 deletions

File tree

‎.github/actions/playwright-test-health-report/action.yml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,20 @@ runs:
7676
repository: ${{ inputs.github-tools-repository }}
7777
ref: ${{ inputs.github-tools-ref }}
7878
path: ./github-tools
79+
- uses: actions/setup-node@v6
80+
with:
81+
node-version-file: ./github-tools/.nvmrc
82+
- shell: bash
83+
working-directory: ./github-tools
84+
run: corepack enable
7985
- uses: actions/setup-node@v6
8086
with:
8187
node-version-file: ./github-tools/.nvmrc
8288
cache: yarn
8389
cache-dependency-path: ./github-tools/yarn.lock
8490
- shell: bash
8591
working-directory: ./github-tools
86-
run: corepack enable && yarn --immutable
92+
run: yarn --immutable
8793
- shell: bash
8894
working-directory: ./github-tools
8995
env:

‎.github/actions/post-merge-validation/action.yml‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,19 @@ runs:
4545
uses: actions/setup-node@v6
4646
with:
4747
node-version-file: ./github-tools/.nvmrc
48-
cache-dependency-path: ./github-tools/yarn.lock
49-
cache: yarn
5048

5149
- name: Enable Corepack
5250
shell: bash
5351
run: corepack enable
5452
working-directory: ./github-tools
5553

54+
- name: Cache Yarn
55+
uses: actions/setup-node@v6
56+
with:
57+
node-version-file: ./github-tools/.nvmrc
58+
cache-dependency-path: ./github-tools/yarn.lock
59+
cache: yarn
60+
5661
- name: Install dependencies
5762
working-directory: ./github-tools
5863
shell: bash

‎.github/actions/publish-slack-release-testing-status/action.yml‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,19 @@ runs:
4444
uses: actions/setup-node@v6
4545
with:
4646
node-version-file: ./github-tools/.nvmrc
47-
cache-dependency-path: ./github-tools/yarn.lock
48-
cache: yarn
4947

5048
- name: Enable Corepack
5149
run: corepack enable
5250
shell: bash
5351
working-directory: ./github-tools
5452

53+
- name: Cache Yarn
54+
uses: actions/setup-node@v6
55+
with:
56+
node-version-file: ./github-tools/.nvmrc
57+
cache-dependency-path: ./github-tools/yarn.lock
58+
cache: yarn
59+
5560
- name: Install dependencies
5661
run: yarn --immutable
5762
shell: bash

0 commit comments

Comments
 (0)