diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index c9fc0a11..dc40bfe8 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -21,9 +21,9 @@ jobs: - name: Install dependencies run: pnpm install - name: Eslint - run: ./scripts/code-quality.sh eslint api + run: pnpm code-quality eslint api - name: Check Prettier - run: ./scripts/code-quality.sh prettier-check api + run: pnpm code-quality prettier-check api stitcher: runs-on: ubuntu-latest steps: @@ -40,6 +40,6 @@ jobs: - name: Install dependencies run: pnpm install - name: Eslint - run: ./scripts/code-quality.sh eslint stitcher + run: pnpm code-quality eslint stitcher - name: Check Prettier - run: ./scripts/code-quality.sh prettier-check stitcher + run: pnpm code-quality prettier-check stitcher diff --git a/package.json b/package.json index 436d40a8..1cbd9451 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "mixwave", "scripts": { "dev": "./scripts/dev.sh", + "code-quality": "./scripts/code-quality.sh", "build": "turbo build" }, "packageManager": "pnpm@8.15.1",