From 3f8fc4bbbf60265b66b61e17f0ccd7d05200ee3a Mon Sep 17 00:00:00 2001 From: Kunal Dawar Date: Wed, 19 Nov 2025 17:25:45 +0530 Subject: [PATCH 1/4] Update npm to latest for OIDC support in v4 releases --- .github/actions/npm-publish/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/actions/npm-publish/action.yml b/.github/actions/npm-publish/action.yml index 15ff4f80c..880fa2c5a 100644 --- a/.github/actions/npm-publish/action.yml +++ b/.github/actions/npm-publish/action.yml @@ -28,6 +28,10 @@ runs: shell: bash run: npm ci --include=dev + - name: Update npm to latest + shell: bash + run: npm install -g npm@latest + - name: Build package if: inputs.require-build == 'true' shell: bash From c123aca1c0bcf6c716aad1a3136f43c84b8a3e26 Mon Sep 17 00:00:00 2001 From: Kunal Dawar Date: Wed, 19 Nov 2025 19:20:22 +0530 Subject: [PATCH 2/4] Use Node.js 20 for npm publishing --- .github/actions/npm-publish/action.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/actions/npm-publish/action.yml b/.github/actions/npm-publish/action.yml index 880fa2c5a..d2a21c311 100644 --- a/.github/actions/npm-publish/action.yml +++ b/.github/actions/npm-publish/action.yml @@ -20,7 +20,7 @@ runs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: ${{ inputs.node-version }} + node-version: 20 cache: 'npm' registry-url: 'https://registry.npmjs.org' @@ -28,10 +28,6 @@ runs: shell: bash run: npm ci --include=dev - - name: Update npm to latest - shell: bash - run: npm install -g npm@latest - - name: Build package if: inputs.require-build == 'true' shell: bash From e645340605c4bf67f99ed99875d2759454492925 Mon Sep 17 00:00:00 2001 From: Kunal Dawar Date: Wed, 19 Nov 2025 19:22:56 +0530 Subject: [PATCH 3/4] Use Node.js 20 for npm publishing --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7cbb17111..71eae5c0f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: rl-scanner: uses: ./.github/workflows/rl-secure.yml with: - node-version: 18 ## depends if build requires node else we can remove this. + node-version: 20 ## depends if build requires node else we can remove this. artifact-name: 'node-auth0.tgz' ## Will change respective to Repository secrets: RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }} @@ -32,7 +32,7 @@ jobs: uses: ./.github/workflows/npm-release.yml needs: rl-scanner with: - node-version: 18 + node-version: 20 require-build: true secrets: github-token: ${{ secrets.GITHUB_TOKEN }} From d11081e0ea311467ed0b12a3f3f59ad791937097 Mon Sep 17 00:00:00 2001 From: Kunal Dawar Date: Wed, 19 Nov 2025 19:28:21 +0530 Subject: [PATCH 4/4] Add npm update to latest for OIDC support --- .github/actions/npm-publish/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/actions/npm-publish/action.yml b/.github/actions/npm-publish/action.yml index d2a21c311..b59b04f12 100644 --- a/.github/actions/npm-publish/action.yml +++ b/.github/actions/npm-publish/action.yml @@ -28,6 +28,10 @@ runs: shell: bash run: npm ci --include=dev + - name: Update npm to latest + shell: bash + run: npm install -g npm@latest + - name: Build package if: inputs.require-build == 'true' shell: bash