Update cd.yml
added synk scan
@@ -5,6 +5,14 @@ on:
types: [published]
jobs:
+ security:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - name: Run Snyk to check for vulnerabilities
+ uses: snyk/actions/node@master
+ env:
+ SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
build:
runs-on: ubuntu-latest
steps:
