Skip to content

Commit c773cbf

Browse files
refactor(chore): standardize node version to \>=20
To maintain consistency and leverage the latest features and security updates, we are standardizing our Node.js support policy. BREAKING CHANGE: node version 18 is no longer supported GH-87
1 parent eb7369d commit c773cbf

File tree

4 files changed

+2545
-1187
lines changed

4 files changed

+2545
-1187
lines changed

.github/workflows/main.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,25 @@ jobs:
1212
# The type of runner that the job will run on
1313
runs-on: ubuntu-latest
1414

15+
# Strategy to run the job on multiple Node.js versions
16+
strategy:
17+
matrix:
18+
node-version: [20, 22, 24]
19+
1520
# Steps represent a sequence of tasks that will be executed as part of the job
1621
steps:
1722
# Checks-out your repository under $GITHUB_WORKSPACE
1823
- uses: actions/checkout@v3
24+
25+
# Sets up the Node.js version specified in the matrix
1926
- uses: actions/setup-node@v3
2027
with:
21-
node-version: '18.x'
28+
node-version: ${{ matrix.node-version }}
2229

30+
# Installs all dependencies
2331
- name: Install Dependencies 📌
2432
run: npm ci
2533

34+
# Runs test cases
2635
- name: Run Test Cases 🔧
2736
run: npm run test

.github/workflows/release.yaml

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)