hexo-yam/.github/workflows/snyk.yml

25 lines
532 B
YAML
Raw Normal View History

2020-09-05 12:43:05 +00:00
name: Snyk
on:
schedule:
# Every day
- cron: '0 0 * * *'
2020-09-05 12:43:05 +00:00
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- name: Use Node.js 14.x
uses: actions/setup-node@v2.4.1
with:
node-version: '14.x'
- name: Install Dependencies
run: npm install
2020-09-05 12:43:05 +00:00
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: monitor