mirror of https://github.com/curbengh/hexo-yam
25 lines
528 B
YAML
25 lines
528 B
YAML
name: Snyk
|
|
|
|
on:
|
|
schedule:
|
|
# Every day
|
|
- cron: '0 0 * * *'
|
|
|
|
jobs:
|
|
security:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js 12.x
|
|
uses: actions/setup-node@v2.1.5
|
|
with:
|
|
node-version: '12.x'
|
|
- name: Install Dependencies
|
|
run: npm install
|
|
- name: Run Snyk to check for vulnerabilities
|
|
uses: snyk/actions/node@master
|
|
env:
|
|
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
|
with:
|
|
command: monitor
|