We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81bf8d8 commit cddf8f7Copy full SHA for cddf8f7
.github/workflows/pre-commit-hooks.yml
@@ -0,0 +1,28 @@
1
+name: pre-commit hooks
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ run-pre-commit-hooks:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v3
14
15
+ - name: set up Node.js
16
+ uses: actions/setup-node@v3
17
+ with:
18
+ node-version: '16'
19
+ cache: 'yarn'
20
21
+ - name: install dependencies
22
+ run: yarn install --frozen-lockfile
23
24
+ - name: run pre-commit hooks
25
+ run: |
26
+ yarn lint-staged
27
+ yarn lint:versions
28
+ yarn lint:dependencies
0 commit comments