Skip to content

Commit fb7f459

Browse files
committed
fix(ci): failing pipeline
1 parent 2e5268d commit fb7f459

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/nodejs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,20 @@ jobs:
4848
- name: npm test
4949
if: github.ref != 'refs/heads/main'
5050
run: |
51+
npm run build
5152
npm run test --workspaces
5253
5354
- name: npm coverage
5455
if: github.ref == 'refs/heads/main'
5556
#npm run coveralls --workspace=vscode
5657
run: |
58+
npm run build
5759
npm run test --workspaces
5860
5961
- name: npm package standalone extension
6062
if: github.ref == 'refs/heads/main'
6163
run: |
64+
npm run build
6265
npm i -g vsce
6366
npm run generate:vsix --workspace=vscode
6467

cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"compile-tests": "npm run clean && tsc -p . --outDir out",
3737
"watch-tests": "tsc -p . -w --outDir out",
3838
"lint": "eslint . --ext ts",
39-
"test": "rm -rf smelly-report.html && npm run compile && vitest --watch=false ./**/**.test.ts",
39+
"test": "rm -rf smelly-report.html && vitest --watch=false ./**/**.test.ts",
4040
"test:watch": "nodemon --exec 'npm run test' --watch 'src/**' --ext 'ts' --delay 5",
4141
"test:coverage": "nyc --reporter=lcov ts-mocha -p tsconfig.json ts-node/register ./**/**.test.ts",
4242
"test:mutation": "stryker run",

0 commit comments

Comments
 (0)