diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index f81e3ac20d..ff653a1b75 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: corepack enable + - run: npm i -g --force corepack && corepack enable - uses: actions/setup-node@v4 with: node-version: 20 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5578ee92cc..5769a89ed8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - run: corepack enable + - run: npm i -g --force corepack && corepack enable - uses: actions/setup-node@v4 with: node-version: 20 @@ -34,7 +34,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - run: corepack enable + - run: npm i -g --force corepack && corepack enable - uses: actions/setup-node@v4 with: node-version: 20