Skip to content

Commit

Permalink
Force corepack version to fix CI actions errors (#1774)
Browse files Browse the repository at this point in the history
* Force corepack version to fix CI actions errors

* Try adding checkout

* Move corepack install into jobs
  • Loading branch information
emma-imber authored Feb 3, 2025
1 parent ef12548 commit 7c599a0
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/beta-release-on-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand Down Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e-playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-ad-load-time.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7c599a0

Please sign in to comment.