File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 - name : Unit tests
4949 run : npm run unit
5050 - name : Command registration sweep
51- run : npm run test:commands
51+ if : matrix.os == 'ubuntu-latest' && matrix.node == '20'
52+ shell : bash
53+ env :
54+ QUERA_SESSION_ID : ${{ secrets.QUERA_SESSION_ID }}
55+ run : |
56+ if [ -z "$QUERA_SESSION_ID" ]; then
57+ echo "No QUERA_SESSION_ID secret available - skipping the live sweep."
58+ exit 0
59+ fi
60+ npm run test:commands
5261
5362 package :
5463 name : Package .vsix
Original file line number Diff line number Diff line change 15671567 "test" : " npm run unit" ,
15681568 "unit" : " mocha -r ts-node/register 'test/unit/**/*.test.ts'" ,
15691569 "package" : " vsce package -o queracode.vsix" ,
1570- "test:live" : " TS_NODE_TRANSPILE_ONLY=true ts-node test/live/e2e.ts" ,
1571- "test:extension" : " TS_NODE_TRANSPILE_ONLY=true ts-node test/live/extension-e2e.ts" ,
1570+ "test:live" : " ts-node --transpile-only test/live/e2e.ts" ,
1571+ "test:extension" : " ts-node --transpile-only test/live/extension-e2e.ts" ,
15721572 "verify" : " npm run check:manifest && npm run lint && npm run unit && npm run test:repo && npm run test:commands" ,
1573- "test:commands" : " TS_NODE_TRANSPILE_ONLY=true ts-node test/live/command-sweep.ts" ,
1573+ "test:commands" : " ts-node --transpile-only test/live/command-sweep.ts" ,
15741574 "verify:live" : " npm run verify && npm run test:live && npm run test:extension" ,
1575- "test:repo" : " TS_NODE_TRANSPILE_ONLY=true ts-node test/live/repo-sync-e2e.ts"
1575+ "test:repo" : " ts-node --transpile-only test/live/repo-sync-e2e.ts"
15761576 },
15771577 "devDependencies" : {
15781578 "@types/markdown-it" : " ^14.1.2" ,
You can’t perform that action at this time.
0 commit comments