Skip to content

Commit dedd096

Browse files
committed
ci(workflows): [ci] test on node versions in the range [20, 24]
Signed-off-by: Lexus Drumgold <[email protected]>
1 parent f528b8c commit dedd096

File tree

6 files changed

+30
-7
lines changed

6 files changed

+30
-7
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: 1
7+
after_n_builds: 5
88
wait_for_ci: true
99
require_ci_to_pass: true
1010

1111
comment:
12-
after_n_builds: 1
12+
after_n_builds: 5
1313
behavior: default
1414
layout: header,diff,flags,components,tree,footer
1515
require_base: false
@@ -96,6 +96,22 @@ flags:
9696
carryforward: false
9797
paths:
9898
- src/
99+
node23:
100+
carryforward: false
101+
paths:
102+
- src/
103+
node22:
104+
carryforward: false
105+
paths:
106+
- src/
107+
node21:
108+
carryforward: false
109+
paths:
110+
- src/
111+
node20:
112+
carryforward: false
113+
paths:
114+
- src/
99115

100116
github_checks:
101117
annotations: true

.env.zsh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,3 @@
88
[ -f $PWD/.env.repo ] && source $PWD/.env.repo
99
[ -f $PWD/.env.vars ] && source $PWD/.env.vars
1010
HOMEBREW_BREWFILE=./Brewfile
11-
NODE_NO_WARNINGS=1
12-
NODE_OPTIONS='--experimental-strip-types --experimental-transform-types'

.github/infrastructure.yml

Lines changed: 5 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
@@ -186,4 +190,5 @@ repository:
186190
- program
187191
visibility: public
188192
vulnerability_alerts: true
193+
web_commit_signoff_required: true
189194
teams: []

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,10 @@ jobs:
247247
matrix:
248248
node-version:
249249
- 24
250+
- 23
251+
- 22
252+
- 21
253+
- 20
250254
env:
251255
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
252256
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
@@ -140,13 +140,13 @@
140140
"prepublishOnly": "toggle-scripts -prepack",
141141
"release": "bash ./scripts/release.sh",
142142
"remark": "remark .",
143-
"test": "yarn clean:build; cross-env NODE_OPTIONS=\"--conditions kronk --experimental-strip-types --experimental-transform-types\" vitest run",
143+
"test": "yarn clean:build; cross-env NODE_OPTIONS=\"--conditions kronk\" vitest run",
144144
"test:cov": "yarn test --coverage",
145145
"test:cov:reports": "yarn test:cov --merge-reports --mode=reports",
146146
"test:cov:ui": "yarn test:ui --coverage",
147147
"test:cov:upload": "./codecov -t $CODECOV_TOKEN -f ./coverage/lcov.info",
148148
"test:reports": "yarn test --merge-reports --mode=reports",
149-
"test:ui": "cross-env VITEST_UI=1 NODE_OPTIONS=\"--conditions kronk --experimental-strip-types --experimental-transform-types\" vitest --ui",
149+
"test:ui": "cross-env VITEST_UI=1 NODE_OPTIONS=\"--conditions kronk\" vitest --ui",
150150
"typecheck": "yarn test --typecheck --mode=typecheck",
151151
"typecheck:ui": "yarn test:ui --typecheck --mode=typecheck"
152152
},

0 commit comments

Comments
 (0)