-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force corepack version to fix CI actions errors (#1774)
* Force corepack version to fix CI actions errors * Try adding checkout * Move corepack install into jobs
- Loading branch information
1 parent
ef12548
commit 7c599a0
Showing
4 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,10 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
# Temporarily force newer version of corepack | ||
# See https://github.com/guardian/support-service-lambdas/pull/2666 | ||
- run: npm install --global [email protected] | ||
|
||
- name: Set up Node | ||
uses: ./.github/actions/setup-node-env | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,10 @@ jobs: | |
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
# Temporarily force newer version of corepack | ||
# See https://github.com/guardian/support-service-lambdas/pull/2666 | ||
- run: npm install --global [email protected] | ||
|
||
- name: Set up Node | ||
uses: ./.github/actions/setup-node-env | ||
|
||
|
@@ -30,6 +34,10 @@ jobs: | |
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
# Temporarily force newer version of corepack | ||
# See https://github.com/guardian/support-service-lambdas/pull/2666 | ||
- run: npm install --global [email protected] | ||
|
||
- name: Set up Node | ||
uses: ./.github/actions/setup-node-env | ||
|
||
|
@@ -46,6 +54,10 @@ jobs: | |
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
# Temporarily force newer version of corepack | ||
# See https://github.com/guardian/support-service-lambdas/pull/2666 | ||
- run: npm install --global [email protected] | ||
|
||
- name: Set up Node | ||
uses: ./.github/actions/setup-node-env | ||
|
||
|
@@ -59,6 +71,10 @@ jobs: | |
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
# Temporarily force newer version of corepack | ||
# See https://github.com/guardian/support-service-lambdas/pull/2666 | ||
- run: npm install --global [email protected] | ||
|
||
- name: Set up Node | ||
uses: ./.github/actions/setup-node-env | ||
|
||
|
@@ -83,6 +99,10 @@ jobs: | |
fetch-depth: 0 | ||
persist-credentials: false | ||
|
||
# Temporarily force newer version of corepack | ||
# See https://github.com/guardian/support-service-lambdas/pull/2666 | ||
- run: npm install --global [email protected] | ||
|
||
- name: Set up Node | ||
uses: ./.github/actions/setup-node-env | ||
|
||
|
@@ -132,6 +152,10 @@ jobs: | |
fetch-depth: 0 | ||
persist-credentials: false | ||
|
||
# Temporarily force newer version of corepack | ||
# See https://github.com/guardian/support-service-lambdas/pull/2666 | ||
- run: npm install --global [email protected] | ||
|
||
- name: Set up Node | ||
uses: ./.github/actions/setup-node-env | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,10 @@ jobs: | |
with: | ||
path: ./commercial | ||
|
||
# Temporarily force newer version of corepack | ||
# See https://github.com/guardian/support-service-lambdas/pull/2666 | ||
- run: npm install --global [email protected] | ||
|
||
- run: corepack enable | ||
working-directory: ./commercial | ||
shell: bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,10 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
# Temporarily force newer version of corepack | ||
# See https://github.com/guardian/support-service-lambdas/pull/2666 | ||
- run: npm install --global [email protected] | ||
|
||
- name: Set up Node | ||
uses: ./.github/actions/setup-node-env | ||
|
||
|