diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5194336..5f4da4d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,4 +39,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm ci - - run: npm run test + - name: Run type checks + run: npm run types + - name: Run tests + run: npm run test diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 45a26c7..e895139 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -12,7 +12,7 @@ npm install ## Running tests -Unit tests can be run using `npm test` (or `npm t`). +Tests can be run using `npm test` (or `npm t`). ## Releases diff --git a/package.json b/package.json index c0c3fbf..41b3806 100644 --- a/package.json +++ b/package.json @@ -55,8 +55,7 @@ "lint:format": "prettier --cache --check .", "lint": "npm-run-all --parallel --continue-on-error --print-label --aggregate-output lint:*", "types": "tsc", - "test:unit": "vitest run", - "test": "npm-run-all --parallel --continue-on-error --print-label --aggregate-output types test:*", + "test": "vitest run", "docs:generate": "tsdoc --src=src/contexts/*,src/hooks/* --dest=docs/API.md --noemoji --types" }, "peerDependencies": {