You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
19
+
20
+
steps:
21
+
- uses: actions/checkout@v2
22
+
- name: Use Node.js ${{v22.6.0}}
23
+
uses: actions/setup-node@v2
24
+
with:
25
+
node-version: ${{ matrix.node-version }}
26
+
cache: 'npm'
27
+
28
+
- name: Setup Snyk + snyk-to-html # For information about the required commands for generating an HTML report see https://github.com/snyk/snyk-to-html
29
+
run: |
30
+
npm install snyk -g
31
+
npm install snyk-to-html -g
32
+
snyk auth ${{secrets.SNYK_AUTH}}
33
+
34
+
- name: Snyk Open Source # For testing and failing please add snyk test before snyk monitor
35
+
run: |
36
+
snyk monitor
37
+
# For a list of additional available flags/options see: https://docs.snyk.io/snyk-cli/commands
38
+
39
+
- name: Snyk Code # Remove || true to fail if there are vulnerabilities
40
+
run: |
41
+
snyk code test || true
42
+
- name: Snyk Container # Rename your image, for testing and failing please add snyk container test before snyk container monitor
0 commit comments