Skip to content

Commit

Permalink
ci: add formatting step
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas2D committed Sep 5, 2024
1 parent 8622e2d commit 7974a0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
run: yarn install --immutable
- name: Code Lint
run: yarn lint
- name: Code Format
run: yarn format
- name: Commits Lint
run: yarn commitlint --verbose --from "${{ github.event.pull_request.base.sha || github.event.commits[0].id }}" --to "${{ github.event.pull_request.head.sha || github.event.head_commit.id }}"
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
yarn lint-staged
CI=true yarn lint && yarn ts:check && yarn run test:unit && yarn copyright
CI=true yarn lint && yarn format && yarn ts:check && yarn run test:unit && yarn copyright

0 comments on commit 7974a0c

Please sign in to comment.