diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index effb6921..635547b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,6 +44,7 @@ jobs: key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - run: yarn install - run: yarn run build + - run: yarn run test:mocha-coverage - run: yarn run test:mocha-coverage:report - name: Coveralls uses: coverallsapp/github-action@master diff --git a/package.json b/package.json index a97b0200..22218551 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ "scripts": { "start": "yarn run watch", "webpack:prod": "webpack --config ./webpack/webpack.node.config.js --config ./webpack/webpack.browser.config.js --mode production", - "build": "yarn run webpack:prod && yarn run eslint && yarn test", + "build": "yarn run webpack:prod && yarn run eslint", "build:typings": "rm -rf ./typings && tsc --project src/tsconfig.typings.json", "watch": "webpack --config ./webpack/webpack.node.config.js --mode development --watch", "test:dev": "ts-node --type-check test/dev/dev.ts",