Skip to content

Commit 2fde46f

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-147
1 parent 847e04d commit 2fde46f

File tree

3 files changed

+2101
-940
lines changed

3 files changed

+2101
-940
lines changed

.github/workflows/main.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,20 @@ 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 environment for the 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

2330
- name: Install Dependencies 📌
2431
run: npm ci

0 commit comments

Comments
 (0)