Skip to content

Commit

Permalink
fix(ci): enable corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone committed Jun 21, 2024
1 parent 66f217a commit f0de757
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/prepare-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows-disabled/approve-workflow-runs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/nightly-config-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/zwave-js-bot_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f0de757

Please sign in to comment.