File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 31
31
npm install --ignore-scripts
32
32
33
33
- name : Run tests
34
+ shell : bash
34
35
run : |
35
36
npm run test:ci
36
37
Original file line number Diff line number Diff line change 29
29
- name : Install dependancies
30
30
run : pnpm install
31
31
- name : Tests
32
+ shell : bash
32
33
run : pnpm run test:ci
33
34
34
35
yarn-pnp :
56
57
# needed due the yarn.lock file in repository's .gitignore
57
58
YARN_ENABLE_IMMUTABLE_INSTALLS : false
58
59
- name : Tests
60
+ shell : bash
59
61
run : yarn run test:yarn
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ async function start () {
25
25
} else if ( process . env . TS_NODE_DEV ) {
26
26
realRequire ( 'ts-node-dev' )
27
27
}
28
- // TODO: Add proper support for ES modules once TS supports them properly
28
+ // TODO:Support ES imports once tsc & ts-node provide better compatibility guarantees.
29
29
fn = realRequire ( decodeURIComponent ( filename . replace ( 'file://' , '' ) ) )
30
30
} else {
31
31
fn = ( await realImport ( filename ) )
Original file line number Diff line number Diff line change 15
15
"sonic-boom" : " ^2.0.1" ,
16
16
"standard" : " ^16.0.3" ,
17
17
"tap" : " ^16.0.0" ,
18
- "ts-node" : " ^10.0 .0" ,
18
+ "ts-node" : " ^10.7 .0" ,
19
19
"typescript" : " ^4.6.0" ,
20
20
"why-is-node-running" : " ^2.2.0"
21
21
},
24
24
"test:ci" : " standard && npm run transpile && npm run test:ci:js && npm run test:ci:ts" ,
25
25
"test:ci:js" : " tap --no-check-coverage --coverage-report=lcovonly \" test/**/*.test.*js\" " ,
26
26
"test:ci:ts" : " tap --ts --no-check-coverage --coverage-report=lcovonly \" test/**/*.test.*ts\" " ,
27
- "test:yarn" : " tap \" test/**/*.test.js\" --no-check-coverage" ,
27
+ "test:yarn" : " npm run transpile && tap \" test/**/*.test.js\" --no-check-coverage" ,
28
28
"transpile" : " ./test/ts/transpile.sh" ,
29
29
"prepare" : " husky install"
30
30
},
You can’t perform that action at this time.
0 commit comments