From d6ba4e0ba4eb7b4b56fedd8886509517aac7dd0f Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Tue, 29 Sep 2026 18:04:25 -0600 Subject: [PATCH 1/3] feat: Update Node.js version from 20 to 24 in build workflow --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5da5d67..3ea43af 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -32,11 +32,11 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@v3 - - name: Use Node 20 + - name: Use Node 24 uses: actions/setup-node@v3 with: cache: npm - node-version: '20' + node-version: '24' registry-url: "https://npm.pkg.github.com" - name: Set package.json version run: | From f4c574f1a3905143d2dd71dbaad5998380eef118 Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Tue, 29 Sep 2026 18:14:27 -0600 Subject: [PATCH 2/3] feat: Upgrade actions/checkout and actions/setup-node to v7; set Node.js version to 24 --- .github/workflows/build.yaml | 12 ++++++++---- .github/workflows/get-version.yaml | 6 +++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3ea43af..c101296 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,11 +29,15 @@ jobs: permissions: id-token: write contents: write - steps: + env: + # setup-node writes an .npmrc referencing ${NODE_AUTH_TOKEN} (because of registry-url below). + # Since setup-node v7 no longer exports a placeholder, every npm command fails if it's unset. + NODE_AUTH_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }} + steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v7 - name: Use Node 24 - uses: actions/setup-node@v3 + uses: actions/setup-node@v7 with: cache: npm node-version: '24' @@ -82,7 +86,7 @@ jobs: echo "filename=${filename}" >> $GITHUB_OUTPUT - name: Get release notes if: inputs.newVersion == 'true' - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: change-log - name: Create Release diff --git a/.github/workflows/get-version.yaml b/.github/workflows/get-version.yaml index c036588..306fdf7 100644 --- a/.github/workflows/get-version.yaml +++ b/.github/workflows/get-version.yaml @@ -31,11 +31,11 @@ jobs: channel: ${{ steps.get_version.outputs.channel }} newVersion: ${{ steps.get_version.outputs.newVersion }} steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 # v4 + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 # v7 with: cache: npm - node-version: lts/* + node-version: '24' registry-url: https://npm.pkg.github.com scope: "@pepperdash-products" - name: Get branch name From a631931e91c644a222a1b24ee4d91ad99752cba4 Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Tue, 29 Sep 2026 18:17:28 -0600 Subject: [PATCH 3/3] feat: Update actions/setup-node to use Node.js 24 and upgrade actions/upload-artifact to v7 --- .github/workflows/get-version.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/get-version.yaml b/.github/workflows/get-version.yaml index 306fdf7..1d23e9f 100644 --- a/.github/workflows/get-version.yaml +++ b/.github/workflows/get-version.yaml @@ -32,7 +32,7 @@ jobs: newVersion: ${{ steps.get_version.outputs.newVersion }} steps: - uses: actions/checkout@v7 - - uses: actions/setup-node@v7 # v7 + - uses: actions/setup-node@v7 with: cache: npm node-version: '24' @@ -85,7 +85,7 @@ jobs: echo "hash: ${{ steps.get_version.outputs.hash }}" >> $GITHUB_STEP_SUMMARY - name: Upload release notes if: steps.get_version.outputs.newVersion == 'true' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: change-log path: CHANGELOG.md