From c27491bdd8df90a388c371f8e2a234984a1dc8bb Mon Sep 17 00:00:00 2001 From: Ronald Veth Date: Thu, 9 Apr 2026 10:42:47 +0200 Subject: [PATCH] Upgrades Node.js version and adds NPM token for release workflow Updates the release workflow to use Node.js version 24 instead of 22 to leverage the latest features and improvements. Adds a new step to display Node and npm versions for better debugging and transparency in the CI/CD pipeline. Configures NPM_TOKEN environment variable from secrets to enable authenticated npm operations during the release process. --- .github/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 254c0d1..6d4cd5e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,10 +24,15 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "22" + node-version: "24" cache: "npm" registry-url: "https://registry.npmjs.org" + - name: Show Node and npm versions + run: | + node -v + npm -v + - name: Install dependencies run: npm ci @@ -46,4 +51,5 @@ jobs: commit: "chore(release): bump version" title: "chore(release): bump version" env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file