From 27721d79ad99c51d2a2bc65ca58554a6ba0b5d8f Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Thu, 16 Apr 2026 09:09:53 +0200 Subject: [PATCH 1/2] fix(ci): update actions/setup-node from v4 to v6.3.0 Node.js 20 actions are deprecated and will be forced to Node.js 24 starting June 2, 2026. setup-node v4 runs on Node 20; v6 supports Node 24. --- .github/workflows/node-audit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node-audit.yml b/.github/workflows/node-audit.yml index 9cc64f1..9dea98c 100644 --- a/.github/workflows/node-audit.yml +++ b/.github/workflows/node-audit.yml @@ -51,7 +51,7 @@ jobs: version: ${{ inputs.pnpm-version }} - 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 }} From aca01f4de07f67194ab27237fb95d4c56c5d5435 Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Thu, 16 Apr 2026 09:15:58 +0200 Subject: [PATCH 2/2] fix(ci): enable corepack for Yarn 4+ projects in node-audit Projects using packageManager field with Yarn 4 need corepack enabled before yarn commands work. Without this, the runner falls back to Yarn Classic 1.22 which rejects the project. --- .github/workflows/node-audit.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/node-audit.yml b/.github/workflows/node-audit.yml index 9dea98c..1f17e2b 100644 --- a/.github/workflows/node-audit.yml +++ b/.github/workflows/node-audit.yml @@ -50,6 +50,10 @@ jobs: with: version: ${{ inputs.pnpm-version }} + - name: Enable Corepack + if: inputs.package-manager == 'yarn' + run: corepack enable + - name: Setup Node uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 with: