Skip to content

Commit 0c9e42e

Browse files
refactor(chore): standardize node version to >=20 (#2263)
* refactor(chore): standardize node version to >=20 BREAKING CHANGE: node version 18 is no longer supported GH-2260 * refactor(workflows): node version change GH-2260 * refactor(chore): standardize node version to >=20 BREAKING CHANGE: node version 18 is no longer supported GH-2260 * refactor(chore): standardize node version to >=20 BREAKING CHANGE: node version 18 is no longer supported GH-2260 * refactor(chore): standardize node vesrion to >=20 BREAKING CHANGE: node vesion 18 is no longer supported GH-2260 * refactor(chore): standardize node version to >=20 BREAKING CHANGE: node version 18 is no longer supported GH-2260 --------- Co-authored-by: a-ganguly <[email protected]>
1 parent 7956415 commit 0c9e42e

File tree

75 files changed

+127470
-116
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+127470
-116
lines changed

.github/workflows/audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v3
1515
- uses: actions/setup-node@v3
1616
with:
17-
node-version: 18.x
17+
node-version: 20.x
1818

1919
- name: Install Monorepo Deps
2020
run: npm ci

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Node
1717
uses: actions/[email protected]
1818
with:
19-
node-version: '18.x'
19+
node-version: '20.x'
2020
- name: Bootstrap
2121
run: |
2222
npm ci

.github/workflows/main.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,28 @@ on:
66
pull_request:
77
branches: [master]
88

9-
# This workflow contains a single job called "npm_test"
109
jobs:
11-
npm_test:
12-
# The type of runner that the job will run on
10+
node_matrix_tests:
1311
runs-on: ubuntu-latest
14-
15-
# Steps represent a sequence of tasks that will be executed as part of the job
12+
strategy:
13+
matrix:
14+
node-version: [20, 22, 24]
1615
steps:
17-
# Checks-out your repository under $GITHUB_WORKSPACE
1816
- uses: actions/checkout@v3
1917
- uses: actions/setup-node@v3
2018
with:
21-
node-version: '18.x'
22-
19+
node-version: ${{ matrix.node-version }}
2320
- name: Install Monorepo Deps
2421
run: npm ci
25-
2622
- name: Run Test Cases
2723
run: npm run test --workspaces --if-present
28-
2924
- name: Run Lint Checks
3025
run: npm run lint --workspaces --if-present
26+
27+
npm_test:
28+
runs-on: ubuntu-latest
29+
needs: node_matrix_tests
30+
if: success()
31+
steps:
32+
- name: Final status
33+
run: echo "✅ All tests passed for Node.js 20, 22, and 24"

.github/workflows/pre-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Node
2525
uses: actions/setup-node@v3
2626
with:
27-
node-version: '18.x'
27+
node-version: '20.x'
2828

2929
- name: Checkout Automation Repository
3030
uses: actions/checkout@v3

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Node
1818
uses: actions/setup-node@v3
1919
with:
20-
node-version: '18.x'
20+
node-version: '20.x'
2121
- name: Configure CI Git User
2222
run: |
2323
git config --global user.name $CONFIG_USERNAME

0 commit comments

Comments
 (0)