diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 34d4415..1aeee2f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -21,8 +21,11 @@ jobs: - name: Install Dependencies run: corepack enable && yarn install - - name: Fix Package - run: yarn fix && git diff --exit-code HEAD + - name: Check Format + run: yarn format && git diff --exit-code HEAD + + - name: Check Lint + run: yarn lint - name: Create Package run: yarn pack diff --git a/package.json b/package.json index a8448cf..effb9a1 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ ], "scripts": { "doc": "typedoc src/index.mts", - "fix": "prettier --write . && eslint --fix --ignore-path .gitignore .", + "format": "prettier --write .", + "lint": "eslint --ignore-path .gitignore .", "prepack": "tsc", "test": "jest" },