From 765058557d4f4c8157550be81076ee5a3e7201bd Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Mon, 20 Nov 2023 11:02:27 -0600 Subject: [PATCH] Fix `actions/setup-node` --- .github/workflows/build.yml | 16 ++++++++++++---- .github/workflows/docs.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5c9ed44..2d2bd985 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,10 +7,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18.14.0 cache: "yarn" + env: + SKIP_YARN_COREPACK_CHECK: "1" - name: Install Yarn v3 run: | corepack enable @@ -24,10 +26,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18.14.0 cache: "yarn" + env: + SKIP_YARN_COREPACK_CHECK: "1" - name: Install Yarn v3 run: | corepack enable @@ -41,10 +45,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18.14.0 cache: "yarn" + env: + SKIP_YARN_COREPACK_CHECK: "1" - name: Install Yarn v3 run: | corepack enable @@ -62,10 +68,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18.14.0 cache: "yarn" + env: + SKIP_YARN_COREPACK_CHECK: "1" - name: Install Yarn v3 run: | corepack enable diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0b8f77d4..07487909 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 18.14.0 cache: "yarn" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f59ed4fd..1e5e6da1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.14.0 cache: "yarn"