ci(snyk): requires deps to be installed beforehand

This commit is contained in:
MDLeom 2020-09-09 05:23:11 +00:00
parent bc742f75fb
commit 18e1fd3a78
No known key found for this signature in database
GPG Key ID: 06C236E63CBC68AA
1 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12.x
uses: actions/setup-node@v2.1.1
with:
node-version: '12.x'
- name: Install Dependencies
run: npm install
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
env: