Skip to content

Commit 8a715c9

Browse files
authored
Merge pull request #383 from node-oauth/ci/upgrade-node
ci: bump node versions to minimum 20
2 parents 8241a75 + 457325a commit 8a715c9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/tests-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
show-progress: false
3030
- uses: actions/setup-node@v6
3131
with:
32-
node-version: 20
32+
node-version: 24
3333
- run: npm clean-install && npm audit --production
3434

3535
# STEP 2 - basic unit tests
@@ -41,7 +41,7 @@ jobs:
4141
needs: [audit]
4242
strategy:
4343
matrix:
44-
node: [16, 18, 20]
44+
node: [20, 22, 24]
4545
steps:
4646
- name: Checkout repository
4747
uses: actions/checkout@v6
@@ -64,7 +64,7 @@ jobs:
6464
uses: VeryGoodOpenSource/very_good_coverage@v3
6565
with:
6666
path: './coverage/lcov.info'
67-
min_coverage: 95
67+
min_coverage: 98
6868

6969
# STEP 3 - Integration tests
7070

@@ -124,7 +124,7 @@ jobs:
124124
show-progress: false
125125
- uses: actions/setup-node@v6
126126
with:
127-
node-version: 16
127+
node-version: 24
128128
registry-url: https://registry.npmjs.org/
129129
- run: npm clean-install
130130
- run: npm publish --dry-run
@@ -146,7 +146,7 @@ jobs:
146146
- uses: actions/setup-node@v6
147147
with:
148148
# we always publish targeting the lowest supported node version
149-
node-version: 16
149+
node-version: 24
150150
registry-url: $registry-url(npm)
151151
- run: npm clean-install
152152
- run: npm publish --dry-run

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: setup node
2727
uses: actions/setup-node@v6
2828
with:
29-
node-version: 20
29+
node-version: 24
3030
cache: npm
3131
- run: npm clean-install
3232
- run: npm run lint
@@ -37,7 +37,7 @@ jobs:
3737
needs: [lint]
3838
strategy:
3939
matrix:
40-
node: [16, 18, 20, 22]
40+
node: [20, 22, 24]
4141
steps:
4242
- name: Checkout repository
4343
uses: actions/checkout@v6
@@ -59,4 +59,4 @@ jobs:
5959
uses: VeryGoodOpenSource/very_good_coverage@v3
6060
with:
6161
path: './coverage/lcov.info'
62-
min_coverage: 95
62+
min_coverage: 98

0 commit comments

Comments
 (0)