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 29a6903 commit b5304e3Copy full SHA for b5304e3
.github/workflows/pr-checks.yml
@@ -0,0 +1,35 @@
1
+name: PR Checks
2
+
3
+on:
4
+ pull_request:
5
+ branches: [main, master]
6
+ push:
7
8
9
+jobs:
10
+ validate:
11
+ name: Type Check, Build & Audit
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Checkout code
16
+ uses: actions/checkout@v4
17
18
+ - name: Setup Node.js
19
+ uses: actions/setup-node@v4
20
+ with:
21
+ node-version: '20'
22
+ cache: 'npm'
23
24
+ - name: Install dependencies
25
+ run: npm ci
26
27
+ - name: Type check
28
+ run: npm run typecheck
29
30
+ - name: Build
31
+ run: npm run build
32
33
+ - name: Security audit
34
+ run: npm audit --audit-level=high
35
+ continue-on-error: false
0 commit comments