Skip to content

Commit 14fc8e5

Browse files
Use node 22 on CI
1 parent 38a1548 commit 14fc8e5

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

.github/actions/build/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ inputs:
55
node:
66
description: The Node version to use
77
required: false
8-
default: 18
8+
default: 22
99

1010
runs:
1111
using: composite

.github/workflows/browserstack.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,11 @@ concurrency:
1919
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
2020

2121
env:
22-
NODE_VERSION: 18
22+
NODE_VERSION: 22
2323
CACHE_KEY: '${{ github.event.pull_request.head.sha || github.ref }}-${{ github.run_id }}-${{ github.run_attempt }}'
2424

2525
jobs:
26-
2726
browserstack:
28-
2927
name: BrowserStack Tests
3028
runs-on: ubuntu-latest
3129

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ permissions:
2222
id-token: write # For publishing to NPM with provenance. Allows developers to run `npm audit signatures` and verify release signature of SDK. @see https://github.blog/2023-04-19-introducing-npm-package-provenance/
2323

2424
env:
25-
NODE_VERSION: 18
25+
NODE_VERSION: 22
2626
NODE_ENV: development
2727

2828
jobs:
@@ -52,8 +52,7 @@ jobs:
5252
# Build the tag string from package.json version and release suffix. Produces something like `1.0.0-beta.1` for a beta, or `1.0.0` for a stable release.
5353
- name: Build tag
5454
id: vtag
55-
env:
56-
PACKAGE_VERSION="${{ github.event.inputs.version }}"
55+
env: PACKAGE_VERSION="${{ github.event.inputs.version }}"
5756
run: |
5857
echo "vtag=${PACKAGE_VERSION}" >> $GITHUB_ENV
5958
echo "vtag=${PACKAGE_VERSION}" >> $GITHUB_OUTPUT

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
rl-scanner:
1919
uses: ./.github/workflows/rl-secure.yml
2020
with:
21-
node-version: 18 ## depends if build requires node else we can remove this.
22-
artifact-name: 'auth0-angular.tgz' ## Will change respective to Repository
21+
node-version: 22 ## depends if build requires node else we can remove this.
22+
artifact-name: 'auth0-angular.tgz' ## Will change respective to Repository
2323
secrets:
2424
RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
2525
RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}
@@ -32,7 +32,7 @@ jobs:
3232
uses: ./.github/workflows/npm-release.yml
3333
needs: rl-scanner ## this is important as this will not let release job to run until rl-scanner is done
3434
with:
35-
node-version: 18
35+
node-version: 22
3636
require-build: true
3737
release-directory: './dist/auth0-angular'
3838
secrets:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ concurrency:
1818
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
1919

2020
env:
21-
NODE_VERSION: 18
21+
NODE_VERSION: 22
2222
CACHE_KEY: '${{ github.ref }}-${{ github.run_id }}-${{ github.run_attempt }}'
2323

2424
jobs:

0 commit comments

Comments
 (0)