Skip to content

Commit

Permalink
ci: check code formatting on PR or push to main
Browse files Browse the repository at this point in the history
  • Loading branch information
fityannugroho committed Oct 6, 2023
1 parent 7f7a99a commit 02b41db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install modules
run: npm ci
- name: Check code formatting
run: npm run lint
- name: Generate Prisma Client
run: npm run prisma:gen
env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install modules
run: npm ci
- name: Check code formatting
run: npm run lint
- name: Migrate the database
run: npm run db:migrate
- name: Seed the data
Expand Down

0 comments on commit 02b41db

Please sign in to comment.