diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2411841..a4a6951 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,10 +27,10 @@ jobs: run: bun run build - name: Lint code - run: bun run lint + run: bunx eslint ./src ./web/src --ext .ts,.tsx - name: Format check - run: bun run format:check + run: bunx prettier --check "**/*.{js,json,md,ts,tsx}" --ignore-path .prettierignore frontend: name: Frontend Build & Test diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index ee1e210..164b56a 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -47,10 +47,10 @@ jobs: bun run build - name: Run backend linting - run: bun run lint + run: bunx eslint ./src ./web/src --ext .ts,.tsx - name: Check code formatting - run: bun run format:check + run: bunx prettier --check "**/*.{js,json,md,ts,tsx}" --ignore-path .prettierignore - name: Validate PR title uses: amannn/action-semantic-pull-request@v5