From 2627d81e7268ca32b4f06d7bec76e2c33d823827 Mon Sep 17 00:00:00 2001 From: Dominic Saadi Date: Fri, 15 Dec 2023 00:51:39 -0800 Subject: [PATCH] enable corepack in ci --- .../workflows/check-create-redwood-app.yml | 5 +++++ .../workflows/check-test-project-fixture.yml | 5 +++++ .github/workflows/ci.yml | 21 +++++++++++++++++++ .github/workflows/publish-canary.yml | 3 +++ .../workflows/publish-release-candidate.yml | 3 +++ .github/workflows/update-all-contributors.yml | 3 +++ 6 files changed, 40 insertions(+) diff --git a/.github/workflows/check-create-redwood-app.yml b/.github/workflows/check-create-redwood-app.yml index cd1f964a9714..a32be81b7876 100644 --- a/.github/workflows/check-create-redwood-app.yml +++ b/.github/workflows/check-create-redwood-app.yml @@ -16,9 +16,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18 + + - name: Enable Corepack + run: corepack enable + - run: yarn install working-directory: ./.github/actions/check_create_redwood_app diff --git a/.github/workflows/check-test-project-fixture.yml b/.github/workflows/check-test-project-fixture.yml index 6a60ad3ce0c1..96dd089b7812 100644 --- a/.github/workflows/check-test-project-fixture.yml +++ b/.github/workflows/check-test-project-fixture.yml @@ -16,9 +16,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 18 + + - name: Enable Corepack + run: corepack enable + - run: yarn install working-directory: ./.github/actions/check_test_project_fixture diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2888d8a31c0c..ba71f1878671 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,6 +61,9 @@ jobs: with: node-version: 18 + - name: Enable Corepack + run: corepack enable + - name: 🐈 Yarn install working-directory: ./tasks/check run: yarn install --inline-builds @@ -102,6 +105,9 @@ jobs: with: node-version: 18 + - name: Enable Corepack + run: corepack enable + - name: 🐈 Set up yarn cache uses: ./.github/actions/set-up-yarn-cache @@ -159,6 +165,9 @@ jobs: with: node-version: 18 + - name: Enable Corepack + run: corepack enable + - name: 🐈 Set up yarn cache uses: ./.github/actions/set-up-yarn-cache @@ -252,6 +261,9 @@ jobs: with: node-version: 18 + - name: Enable Corepack + run: corepack enable + - name: 🐈 Set up yarn cache uses: ./.github/actions/set-up-yarn-cache @@ -455,6 +467,9 @@ jobs: with: node-version: 18 + - name: Enable Corepack + run: corepack enable + - name: 🐈 Set up yarn cache uses: ./.github/actions/set-up-yarn-cache @@ -511,6 +526,9 @@ jobs: with: node-version: 18 + - name: Enable Corepack + run: corepack enable + - name: 🐈 Set up yarn cache uses: ./.github/actions/set-up-yarn-cache @@ -605,6 +623,9 @@ jobs: with: node-version: 18 + - name: Enable Corepack + run: corepack enable + - name: 🐈 Set up yarn cache uses: ./.github/actions/set-up-yarn-cache diff --git a/.github/workflows/publish-canary.yml b/.github/workflows/publish-canary.yml index fffb55c15a43..53137bba347b 100644 --- a/.github/workflows/publish-canary.yml +++ b/.github/workflows/publish-canary.yml @@ -33,6 +33,9 @@ jobs: with: node-version: 18 + - name: Enable Corepack + run: corepack enable + - name: 🐈 Set up yarn cache uses: ./.github/actions/set-up-yarn-cache diff --git a/.github/workflows/publish-release-candidate.yml b/.github/workflows/publish-release-candidate.yml index 4269d9f838d6..e28c594225ad 100644 --- a/.github/workflows/publish-release-candidate.yml +++ b/.github/workflows/publish-release-candidate.yml @@ -67,6 +67,9 @@ jobs: with: node-version: 18 + - name: Enable Corepack + run: corepack enable + - name: 🐈 Set up yarn cache uses: ./.github/actions/set-up-yarn-cache diff --git a/.github/workflows/update-all-contributors.yml b/.github/workflows/update-all-contributors.yml index b6b86d99faf6..e62b1b65309c 100644 --- a/.github/workflows/update-all-contributors.yml +++ b/.github/workflows/update-all-contributors.yml @@ -26,6 +26,9 @@ jobs: with: node-version: 18 + - name: Enable Corepack + run: corepack enable + - run: yarn install - name: Update all contributors