From 2fe20a1d1c6ad0c5b7684cc8b6d2fbf36f9d0772 Mon Sep 17 00:00:00 2001 From: valentinesamuel Date: Wed, 30 Oct 2024 12:32:56 +0100 Subject: [PATCH] fix: fixed format --- .github/workflows/release.yml | 2 +- .husky/pre-commit | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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",