diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b28f1b3..e3b76b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,10 +42,8 @@ jobs: node-version: ${{ matrix.node }} - name: Install dependencies run: yarn install --immutable - - name: Run unit test - run: yarn test:unit - - name: Run type test - run: yarn test:types + - name: Run unit and type test + run: yarn test - name: Run integration tests if: matrix.node == '20' run: yarn test:integration diff --git a/package.json b/package.json index 0d4de70..0cbcd50 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "prepack": "pinst --disable", "postpack": "pinst --enable", "release": "yarn build:release && changeset publish", - "test": "yarn test:unit && yarn test:types", + "test": "yarn test:unit --coverage && yarn test:types", "test:unit": "jest --selectProjects unit", "test:types": "tstyche", "test:integration": "yarn build && cd test/integration && npm install --omit=dev --ignore-scripts && tsc && npm test",