Skip to content

Commit

Permalink
test skip build in test step
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeLenaleee committed Jul 4, 2022
1 parent e600499 commit ceaccf7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ jobs:
steps.changes.outputs.test == 'true') &&
runner.os != 'Windows'
run: |
npm run build
if [ "${{ runner.os }}" == "macOS" ]; then
npm run test-ci --browsers chrome,safari
else
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"lint-tsc": "tsc",
"lint-types": "eslint \"types/**/*.ts\" && node -r esm types/tests/autogen.js && tsc -p types/tests/",
"lint": "concurrently \"npm:lint-*\"",
"test": "npm run lint && cross-env NODE_ENV=test karma start --auto-watch --single-run --coverage --grep",
"test": "npm run lint && npm run test-ci",
"test-ci": "cross-env NODE_ENV=test karma start --auto-watch --single-run --coverage --grep"
},
"devDependencies": {
Expand Down

0 comments on commit ceaccf7

Please sign in to comment.