diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 386241c..e12ed00 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,11 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - run: corepack enable - uses: actions/setup-node@v4 with: node-version-file: ".nvmrc" cache: "yarn" + env: + SKIP_YARN_COREPACK_CHECK: "1" - name: Install Yarn v3 run: | corepack enable diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2c0164..0ffc05e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,12 +21,13 @@ jobs: with: # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits fetch-depth: 0 - - run: corepack enable - name: Setup Node.js uses: actions/setup-node@v4 with: node-version-file: ".nvmrc" cache: "yarn" + env: + SKIP_YARN_COREPACK_CHECK: "1" - name: Install Yarn v3 run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 082611a..fca93ea 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,11 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - run: corepack enable - uses: actions/setup-node@v4 with: node-version-file: ".nvmrc" cache: "yarn" + env: + SKIP_YARN_COREPACK_CHECK: "1" - name: Install Yarn v3 run: | corepack enable