File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ * text =auto eol =lf
Original file line number Diff line number Diff line change 1111jobs :
1212 ci :
1313 name : CI
14- runs-on : ubuntu-latest
14+ strategy :
15+ matrix :
16+ os : [ubuntu-latest, windows-latest]
17+ version : ['22.17.1', '24.4.1']
18+ runs-on : ${{ matrix.os }}
1519 steps :
1620 - name : Checkout
1721 uses : actions/checkout@v4.2.2
1822 - name : Setup Node
1923 uses : actions/setup-node@v4.3.0
2024 with :
21- node-version : ' 22.15.0 '
25+ node-version : ${{ matrix.version }}
2226 - name : Install Dependencies
2327 run : npm ci
2428 - name : Save error log
Original file line number Diff line number Diff line change 1414 - name : Setup Node
1515 uses : actions/setup-node@v4.3.0
1616 with :
17- node-version : ' 22.15.0 '
17+ node-version : ' 24.4.1 '
1818 - name : Install Dependencies
1919 run : npm ci
2020 - name : Save error log
Original file line number Diff line number Diff line change 44 "presets" : [
55 [" @babel/preset-env" , {
66 "modules" : false
7- }],
7+ }, " specifier-build " ],
88 " @babel/preset-typescript"
99 ]
1010}
Original file line number Diff line number Diff line change @@ -19,6 +19,27 @@ export default tseslint.config(
1919 '@typescript-eslint/no-var-requires' : 'off' ,
2020 '@typescript-eslint/no-unused-vars' : 'off' ,
2121 '@typescript-eslint/no-require-imports' : 'off' ,
22+ 'n/no-unsupported-features/node-builtins' : [
23+ 'error' ,
24+ {
25+ ignores : [
26+ 'import.meta.resolve' ,
27+ ]
28+ }
29+ ]
2230 } ,
2331 } ,
32+ {
33+ files : [ 'test/*.ts' ] ,
34+ rules : {
35+ 'n/no-unsupported-features/node-builtins' : [
36+ 'error' ,
37+ {
38+ ignores : [
39+ 'test.describe' ,
40+ ]
41+ }
42+ ]
43+ }
44+ }
2445)
You can’t perform that action at this time.
0 commit comments