We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19d6763 commit c8e1eaaCopy full SHA for c8e1eaa
1 file changed
.github/workflows/snyk.yml
@@ -0,0 +1,29 @@
1
+name: Snyk Vulnerability Scan
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ snyk:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout repository
14
+ uses: actions/checkout@v4
15
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: '20'
20
21
+ - name: Install dependencies
22
+ run: npm install
23
24
+ - name: Run Snyk security scan
25
+ uses: snyk/actions/node@master
26
+ env:
27
+ SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
28
29
+ args: test --severity-threshold=high
0 commit comments