fix: ensure that projects without optional chainer support can use @cypress/code-coverage #742
Workflow file for this run
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: Snyk Static Analysis Scan | |
# This SAST (Static Application Security Testing) scan is used to scan | |
# our first-party code for security vulnerabilities | |
on: | |
pull_request: | |
branches: | |
- master | |
- develop | |
jobs: | |
Snyk_SAST_Scan: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: snyk/actions/setup@master | |
- name: Perform Static Analysis Test | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_API_TOKEN }} | |
continue-on-error: true | |
run: snyk code test --all-projects --strict-out-of-sync=false --detection-depth=6 --exclude=docker,Dockerfile --severity-threshold=high |