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 d5a1056 commit 63726b4Copy full SHA for 63726b4
.github/workflows/validate.yml
@@ -0,0 +1,25 @@
1
+name: Validate
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ validate:
10
+ name: Validate
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout repo
14
+ uses: actions/checkout@v4
15
16
+ - name: Setup node
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version-file: ".nvmrc"
20
21
+ - name: Install dependencies
22
+ run: npm install
23
24
+ - name: Run validations
25
+ run: npm run validate
package.json
@@ -32,7 +32,7 @@
32
"lint": "eslint src/**/*.ts",
33
"test": "jest",
34
"typecheck": "tsc",
35
- "validate": "run-p lint typecheck"
+ "validate": "run-p lint typecheck test"
36
},
37
"repository": {
38
"type": "git",
0 commit comments