From 832e5b09233edd66acbdd91b3335e2fa758ee792 Mon Sep 17 00:00:00 2001 From: JounQin Date: Tue, 19 Dec 2023 14:46:41 +0800 Subject: [PATCH] ci: enable SKIP_YARN_COREPACK_CHECK env --- .github/workflows/ci.yml | 6 ++++++ .github/workflows/release.yml | 3 +++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f55406c4..883d8287 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,18 +26,24 @@ jobs: with: node-version: ${{ matrix.node }} cache: yarn + env: + # https://github.com/actions/setup-node/issues/531#issuecomment-1819151412 + SKIP_YARN_COREPACK_CHECK: 1 - name: Enable Corepack run: corepack enable - name: Install Dependencies run: yarn --immutable + env: + SKIP_YARN_COREPACK_CHECK: 1 - name: Build, Lint and Test run: yarn run-s build lint test env: EFF_NO_LINK_RULES: true PARSER_NO_WATCH: true + SKIP_YARN_COREPACK_CHECK: 1 - name: Codecov uses: codecov/codecov-action@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d8ed634b..17de10c1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,6 +21,9 @@ jobs: with: node-version: 20 cache: yarn + env: + # https://github.com/actions/setup-node/issues/531#issuecomment-1819151412 + SKIP_YARN_COREPACK_CHECK: 1 - name: Enable Corepack run: corepack enable