File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change 10
10
- main
11
11
12
12
jobs :
13
- # security:
14
- # runs-on: ubuntu-latest
15
- # steps:
16
- # - uses: actions/checkout@v1
17
- # - name: Run Snyk to check for vulnerabilities
18
- # uses: snyk/actions/node@master
19
- # env:
20
- # SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
21
- # with:
22
- # args: --severity-threshold=high
13
+ security :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ - name : Run Snyk to check for vulnerabilities
18
+ run : npx snyk test --severity-threshold=high
19
+ env :
20
+ SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
23
21
test :
24
22
runs-on : ubuntu-latest
25
23
strategy :
26
24
matrix :
27
25
node-version : [12.x, 14.x]
28
26
steps :
29
- - uses : actions/checkout@v1
27
+ - uses : actions/checkout@v2
30
28
- name : Use Node.js ${{ matrix.node-version }}
31
29
uses : actions/setup-node@v1
32
30
with :
You can’t perform that action at this time.
0 commit comments