Update package.json to force out of sync lock file #511
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Example workflow for Node using Snyk | |
on: push | |
jobs: | |
security: | |
runs-on: linux-latest | |
steps: | |
- uses: actions/checkout@master | |
# snyk test | |
# - name: Run Snyk monitor to check for vulnerabilities | |
# continue-on-error: true | |
# uses: snyk/actions/node@master | |
# env: | |
# SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
# with: | |
# args: --severity-threshold=high --all-projects --target-name=JosanaDH/juice-shop | |
# command: monitor | |
# iac | |
# - name: Run Snyk iac report to check for vulnerabilities | |
# continue-on-error: true | |
# uses: snyk/actions/node@master | |
# env: | |
# SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
# with: | |
# args: --severity-threshold=high --report --target-name=JosanaDH/juice-shop | |
# command: iac test | |
- name: Setup Snyk | |
uses: snyk/actions/setup@master | |
- name: Setup Java | |
uses: actions/setup-node@master | |
- name: Snyk test | |
run: snyk test | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} |