diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index cb01483..b46727c 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -16,7 +16,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 177d43f..759986a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: 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 @@ -41,7 +41,7 @@ jobs: steps: - uses: actions/checkout@v4 - - run: corepack enable + - run: npm i -g --force corepack && corepack enable - uses: actions/setup-node@v4 with: node-version: 18