chore(deps): update dependency @evilmartians/lefthook to v1.6.17 (#660) #1196
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Setting File Format Check | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- 'apps/**' | |
- 'packages/**' | |
pull_request: | |
paths-ignore: | |
- 'apps/**' | |
- 'packages/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
format-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: ./.github/actions/setup-node | |
- name: Format Check | |
id: format-check | |
run: pnpm format | |
- name: Tips | |
if: failure() | |
run: | | |
echo 'Try the following command in the project root' | |
echo 'pnpm format:fix' |