Skip to content

Update package.json to force out of sync lock file #517

Update package.json to force out of sync lock file

Update package.json to force out of sync lock file #517

Workflow file for this run

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 }}