Skip to content

Commit

Permalink
feat: add prettier checker
Browse files Browse the repository at this point in the history
  • Loading branch information
altaywtf committed Dec 9, 2023
1 parent aca084a commit c1cbca7
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -24,3 +28,5 @@ jobs:
- run: pnpm typecheck

- run: pnpm lint

- run: pnpm prettier -c .

0 comments on commit c1cbca7

Please sign in to comment.