diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 4cba7aa..e27fa7d 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -1,17 +1,21 @@ -name: 'Lint and typecheck' +name: 'Code quality' on: pull_request: - types: [opened, synchronize, reopened] + types: + - opened + - synchronize + - reopened push: - branches: [main] + branches: + - main concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: - lint: + lint_and_typecheck: runs-on: ubuntu-latest steps: @@ -24,3 +28,5 @@ jobs: - run: pnpm typecheck - run: pnpm lint + + - run: pnpm prettier -c .