From 11a376f26a587076aa7f68a31a5194ffb221886f Mon Sep 17 00:00:00 2001 From: Dominic Saadi Date: Fri, 15 Dec 2023 01:13:54 -0800 Subject: [PATCH] apply workaround from https://github.com/actions/setup-node/issues/531 --- .../workflows/check-create-redwood-app.yml | 6 +-- .../workflows/check-test-project-fixture.yml | 6 +-- .github/workflows/ci.yml | 48 +++++++++---------- .github/workflows/publish-canary.yml | 6 +-- .../workflows/publish-release-candidate.yml | 6 +-- .github/workflows/update-all-contributors.yml | 6 +-- 6 files changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/workflows/check-create-redwood-app.yml b/.github/workflows/check-create-redwood-app.yml index a32be81b7876..f724e8149f94 100644 --- a/.github/workflows/check-create-redwood-app.yml +++ b/.github/workflows/check-create-redwood-app.yml @@ -17,13 +17,13 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Enable Corepack + run: corepack enable + - 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 96dd089b7812..e1bf44c82dd8 100644 --- a/.github/workflows/check-test-project-fixture.yml +++ b/.github/workflows/check-test-project-fixture.yml @@ -17,13 +17,13 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Enable Corepack + run: corepack enable + - 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 ba71f1878671..6c29f88c3d68 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,14 +28,14 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Enable Corepack + run: corepack enable + - name: ⬢ Set up Node.js uses: actions/setup-node@v4 with: node-version: 18 - - name: Enable Corepack - run: corepack enable - - name: 🐈 Yarn install working-directory: ./.github/actions/detect-changes run: yarn install --inline-builds @@ -56,14 +56,14 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Enable Corepack + run: corepack enable + - name: ⬢ Set up Node.js uses: actions/setup-node@v4 with: node-version: 18 - - name: Enable Corepack - run: corepack enable - - name: 🐈 Yarn install working-directory: ./tasks/check run: yarn install --inline-builds @@ -100,14 +100,14 @@ jobs: - uses: actions/checkout@v4 + - name: Enable Corepack + run: corepack enable + - name: ⬢ Set up Node.js uses: actions/setup-node@v4 with: node-version: 18 - - name: Enable Corepack - run: corepack enable - - name: 🐈 Set up yarn cache uses: ./.github/actions/set-up-yarn-cache @@ -160,14 +160,14 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Enable Corepack + run: corepack enable + - name: ⬢ Set up Node.js uses: actions/setup-node@v4 with: node-version: 18 - - name: Enable Corepack - run: corepack enable - - name: 🐈 Set up yarn cache uses: ./.github/actions/set-up-yarn-cache @@ -256,14 +256,14 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Enable Corepack + run: corepack enable + - name: ⬢ Set up Node.js uses: actions/setup-node@v4 with: node-version: 18 - - name: Enable Corepack - run: corepack enable - - name: 🐈 Set up yarn cache uses: ./.github/actions/set-up-yarn-cache @@ -462,14 +462,14 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Enable Corepack + run: corepack enable + - name: ⬢ Set up Node.js uses: actions/setup-node@v4 with: node-version: 18 - - name: Enable Corepack - run: corepack enable - - name: 🐈 Set up yarn cache uses: ./.github/actions/set-up-yarn-cache @@ -521,14 +521,14 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Enable Corepack + run: corepack enable + - name: ⬢ Set up Node.js uses: actions/setup-node@v4 with: node-version: 18 - - name: Enable Corepack - run: corepack enable - - name: 🐈 Set up yarn cache uses: ./.github/actions/set-up-yarn-cache @@ -618,14 +618,14 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Enable Corepack + run: corepack enable + - name: ⬢ Set up Node.js uses: actions/setup-node@v4 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 53137bba347b..b34144da1c6e 100644 --- a/.github/workflows/publish-canary.yml +++ b/.github/workflows/publish-canary.yml @@ -28,14 +28,14 @@ jobs: with: fetch-depth: 0 + - name: Enable Corepack + run: corepack enable + - name: ⬢ Set up Node.js uses: actions/setup-node@v4 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 e28c594225ad..dd81d05a6e32 100644 --- a/.github/workflows/publish-release-candidate.yml +++ b/.github/workflows/publish-release-candidate.yml @@ -62,14 +62,14 @@ jobs: # This is required because lerna uses tags to determine the version. fetch-depth: 0 + - name: Enable Corepack + run: corepack enable + - name: ⬢ Set up Node.js uses: actions/setup-node@v4 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 e62b1b65309c..6eb34cad352e 100644 --- a/.github/workflows/update-all-contributors.yml +++ b/.github/workflows/update-all-contributors.yml @@ -22,13 +22,13 @@ jobs: with: token: ${{ secrets.JTOAR_TOKEN }} + - name: Enable Corepack + run: corepack enable + - uses: actions/setup-node@v4 with: node-version: 18 - - name: Enable Corepack - run: corepack enable - - run: yarn install - name: Update all contributors