mirror of https://github.com/curbengh/hexo-yam
ci(snyk): requires deps to be installed beforehand
This commit is contained in:
parent
bc742f75fb
commit
18e1fd3a78
|
@ -10,6 +10,12 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- 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
|
- name: Run Snyk to check for vulnerabilities
|
||||||
uses: snyk/actions/node@master
|
uses: snyk/actions/node@master
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue