Skip to content

Commit add67bb

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-150
1 parent 6ffbcc6 commit add67bb

4 files changed

Lines changed: 2714 additions & 1222 deletions

File tree

.github/workflows/main.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +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

23-
- name: Install Monorepo Deps
30+
# Installs all dependencies
31+
- name: Install Dependencies 📌
2432
run: npm ci
2533

26-
- name: Run Test Cases
34+
# Runs test cases
35+
- name: Run Test Cases 🔧
2736
run: npm run test
28-
29-
- name: Run Lint Checks
30-
run: npm run lint

.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)