diff --git a/.github/actions/prepare-env/action.yml b/.github/actions/prepare-env/action.yml index 0e03d60ec25d..c4c4fdb17550 100644 --- a/.github/actions/prepare-env/action.yml +++ b/.github/actions/prepare-env/action.yml @@ -12,6 +12,10 @@ inputs: runs: using: 'composite' steps: + - name: Enable Corepack + shell: bash + run: corepack enable + - name: Use Node.js ${{ inputs.node-version }} uses: actions/setup-node@v4 with: diff --git a/.github/workflows-disabled/approve-workflow-runs.yml b/.github/workflows-disabled/approve-workflow-runs.yml index 6b12f6ce2857..d08a6a414b57 100644 --- a/.github/workflows-disabled/approve-workflow-runs.yml +++ b/.github/workflows-disabled/approve-workflow-runs.yml @@ -15,6 +15,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Enable Corepack + shell: bash + run: corepack enable + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: diff --git a/.github/workflows/generate-docs.yml b/.github/workflows/generate-docs.yml index 0846535d879d..e3459c8a64a4 100644 --- a/.github/workflows/generate-docs.yml +++ b/.github/workflows/generate-docs.yml @@ -32,6 +32,10 @@ jobs: with: fetch-depth: 0 + - name: Enable Corepack + shell: bash + run: corepack enable + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: diff --git a/.github/workflows/nightly-config-publish.yml b/.github/workflows/nightly-config-publish.yml index d3b593bc328e..698fa43438df 100644 --- a/.github/workflows/nightly-config-publish.yml +++ b/.github/workflows/nightly-config-publish.yml @@ -19,6 +19,10 @@ jobs: with: fetch-depth: 0 # Fetch the history, or this action won't work + - name: Enable Corepack + shell: bash + run: corepack enable + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: diff --git a/.github/workflows/zwave-js-bot_comment.yml b/.github/workflows/zwave-js-bot_comment.yml index 1e3034b89485..78f0c3f8a719 100644 --- a/.github/workflows/zwave-js-bot_comment.yml +++ b/.github/workflows/zwave-js-bot_comment.yml @@ -58,6 +58,10 @@ jobs: - name: Switch to a branch run: git switch -c temp + - name: Enable Corepack + shell: bash + run: corepack enable + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: @@ -400,6 +404,10 @@ jobs: return bot.checkAuthorized({github, context}); # These steps only run if the check was successful + - name: Enable Corepack + shell: bash + run: corepack enable + - name: Use Node.js ${{ matrix.node-version }} if: steps.check-permissions.outputs.result == 'true' uses: actions/setup-node@v4 @@ -508,6 +516,10 @@ jobs: return bot.checkAuthorized({github, context}); # These steps only run if the check was successful + - name: Enable Corepack + shell: bash + run: corepack enable + - name: Use Node.js ${{ matrix.node-version }} if: steps.check-permissions.outputs.result == 'true' uses: actions/setup-node@v4 @@ -628,6 +640,10 @@ jobs: return bot.checkAuthorized({github, context}); # These steps only run if the check was successful + - name: Enable Corepack + shell: bash + run: corepack enable + - name: Use Node.js ${{ matrix.node-version }} if: steps.check-permissions.outputs.result == 'true' uses: actions/setup-node@v4