From 74150f19818d16144ca9355fcc731489424c925e Mon Sep 17 00:00:00 2001 From: Frederik Prijck Date: Thu, 15 May 2025 21:43:07 +0200 Subject: [PATCH] Run CI on node 20 with 18 being EOL --- .github/actions/build/action.yml | 2 +- .github/workflows/browserstack.yml | 2 +- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 3e51269c..848602b5 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -5,7 +5,7 @@ inputs: node: description: The Node version to use required: false - default: 18 + default: 20 runs: using: composite diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index 20ca374c..91c7169b 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -19,7 +19,7 @@ concurrency: cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} env: - NODE_VERSION: 18 + NODE_VERSION: 20 CACHE_KEY: '${{ github.event.pull_request.head.sha || github.ref }}-${{ github.run_id }}-${{ github.run_attempt }}' jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4cec76e5..7ac2e533 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: 'auth0-vue.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 ## this is important as this will not let release job to run until rl-scanner is done with: - node-version: 18 + node-version: 20 require-build: true secrets: npm-token: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index da55d6d9..4ea6966f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ concurrency: cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} env: - NODE_VERSION: 18 + NODE_VERSION: 20 CACHE_KEY: '${{ github.ref }}-${{ github.run_id }}-${{ github.run_attempt }}' jobs: