Skip to content

Commit 6e88ed7

Browse files
committed
ci(workflows): [ci] test on node versions in the range [20, 24]
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent 58830db commit 6e88ed7

File tree

5 files changed

+29
-5
lines changed

5 files changed

+29
-5
lines changed

.codecov.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
---
55
codecov:
66
notify:
7-
after_n_builds: 2
7+
after_n_builds: 5
88
wait_for_ci: true
99
require_ci_to_pass: true
1010

1111
comment:
12-
after_n_builds: 2
12+
after_n_builds: 5
1313
behavior: default
1414
layout: header,diff,flags,tree,footer
1515
require_base: false
@@ -69,6 +69,22 @@ flags:
6969
carryforward: false
7070
paths:
7171
- src/
72+
node23:
73+
carryforward: false
74+
paths:
75+
- src/
76+
node22:
77+
carryforward: false
78+
paths:
79+
- src/
80+
node21:
81+
carryforward: false
82+
paths:
83+
- src/
84+
node20:
85+
carryforward: false
86+
paths:
87+
- src/
7288

7389
github_checks:
7490
annotations: true

.github/infrastructure.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ branches:
3131
- context: lint
3232
- context: spelling
3333
- context: test (24)
34+
- context: test (23)
35+
- context: test (22)
36+
- context: test (21)
37+
- context: test (20)
3438
- context: typescript
3539
strict: true
3640
restrictions: null

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,10 @@ jobs:
251251
matrix:
252252
node-version:
253253
- 24
254+
- 23
255+
- 22
256+
- 21
257+
- 20
254258
env:
255259
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
256260
COVERAGE_SUMMARY: ./coverage/coverage-summary.json

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
24
1+
node

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,13 @@
136136
"prepublishOnly": "toggle-scripts -prepack",
137137
"release": "bash ./scripts/release.sh",
138138
"remark": "remark .",
139-
"test": "yarn clean:build; cross-env NODE_OPTIONS=\"--conditions colors --experimental-strip-types --experimental-transform-types\" vitest run",
139+
"test": "yarn clean:build; cross-env NODE_OPTIONS=\"--conditions colors\" vitest run",
140140
"test:cov": "yarn test --coverage",
141141
"test:cov:reports": "yarn test:cov --merge-reports --mode=reports",
142142
"test:cov:ui": "yarn test:ui --coverage",
143143
"test:cov:upload": "./codecov -t $CODECOV_TOKEN -f ./coverage/lcov.info",
144144
"test:reports": "yarn test --merge-reports --mode=reports",
145-
"test:ui": "cross-env VITEST_UI=1 NODE_OPTIONS=\"--conditions colors --experimental-strip-types --experimental-transform-types\" vitest --ui",
145+
"test:ui": "cross-env VITEST_UI=1 NODE_OPTIONS=\"--conditions colors\" vitest --ui",
146146
"typecheck": "yarn test --typecheck --mode=typecheck",
147147
"typecheck:ui": "yarn test:ui --typecheck --mode=typecheck"
148148
},

0 commit comments

Comments
 (0)