diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 337d2a89fe..fa88dc1e00 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: - run: npm install env: SKIP_PREPARE: true - - run: npm test + - run: npm run test:integration env: CI: true Lint: diff --git a/package.json b/package.json index 40c8957b17..4e68a36978 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,8 @@ }, "types": "types/runtime/index.d.ts", "scripts": { - "test": "mocha --exit", + "test": "npm run test:integration && npm run test:unit", + "test:integration": "mocha --exit", "test:unit": "mocha --config .mocharc.unit.js --exit", "quicktest": "mocha --exit", "build": "rollup -c && npm run tsd",