diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 697629d..e2c6b26 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,4 +26,4 @@ jobs: - name: Create Release Pull Request uses: changesets/action@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.husky/pre-commit b/.husky/pre-commit index 8cb7743..784d53f 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,2 +1,2 @@ # Run npm ci and fail if it does not complete successfully -npm ci || exit 1 \ No newline at end of file +npm run format && npm ci || exit 1 \ No newline at end of file diff --git a/package.json b/package.json index a7a1357..9c4b3b8 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "check-format": "prettier --check .", "check-exports": "attw --pack . --ignore-rules=cjs-resolves-to-esm", "lint": "tsc", - "ci": "npm run build && npm run check-format && npm run format && npm run check-exports && npm run lint && npm run test", + "ci": "npm run build && npm run check-format && npm run check-exports && npm run lint && npm run test", "test": "vitest run", "dev": "vitest", "local-release": "changeset version && changeset publish",