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 0ba7d56 commit f2fd5b5Copy full SHA for f2fd5b5
.github/workflows/pre-commit-checks.yml
@@ -0,0 +1,34 @@
1
+name: Pre-commit checks
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - '**'
7
+ pull_request:
8
9
10
11
+jobs:
12
+ pre-commit-checks:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Checkout repository
17
+ uses: actions/checkout@v4
18
19
+ - name: Set up Node.js
20
+ uses: actions/setup-node@v4
21
+ with:
22
+ node-version: 22
23
24
+ - name: Install dependencies
25
+ run: npm ci
26
27
+ - name: Run cspell
28
+ run: npm run cspell
29
30
+ - name: Run lint
31
+ run: npm run lint
32
33
+ - name: Run build
34
+ run: npm run build
0 commit comments