[Snyk] Upgrade body-parser from 1.9.0 to 1.20.2 #50
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 CI | |
on: | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
strategy: | |
matrix: | |
node: ['16'] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: NPM Install | |
run: npm install | |
- name: Install Snyk | |
run: sudo npm install -g snyk | |
- name: Snyk Authenticate | |
run: snyk auth "$SNYK_TOKEN" | |
- name: Snyk Test | |
run: snyk test --file=Pipfile --severity-threshold=high --fail-on=upgradable |