diff --git a/.github/workflows/node-audit.yml b/.github/workflows/node-audit.yml index 9cc64f1..1f17e2b 100644 --- a/.github/workflows/node-audit.yml +++ b/.github/workflows/node-audit.yml @@ -50,8 +50,12 @@ jobs: with: version: ${{ inputs.pnpm-version }} + - name: Enable Corepack + if: inputs.package-manager == 'yarn' + run: corepack enable + - name: Setup Node - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 + uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 with: node-version-file: ${{ inputs.node-version-file }}