File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -136,3 +136,21 @@ jobs:
136136 uses : coverallsapp/github-action@v2.3.6
137137 with :
138138 file : coverage/lcov.info
139+
140+ run-git-hooks :
141+ name : Run git hooks
142+ if : github.event_name == 'push' || (github.event.pull_request.user.login != 'dependabot[bot]' && github.event.pull_request.head.repo.full_name == github.repository)
143+ runs-on : ubuntu-latest
144+ steps :
145+ - uses : GitHubSecurityLab/actions-permissions/monitor@v1
146+ - uses : actions/checkout@v5
147+ with :
148+ persist-credentials : false
149+ - uses : actions/setup-node@v6
150+ with :
151+ node-version-file : package.json
152+ cache : " npm"
153+ - name : Install dependencies
154+ run : npm ci
155+ - name : Run pre-commit and pre-push hooks
156+ run : ./.husky/_/pre-commit && ./.husky/_/pre-push
You can’t perform that action at this time.
0 commit comments