Skip to content

Commit

Permalink
Modify snyk yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AliceeLe committed Oct 31, 2024
1 parent d4444e6 commit e77ecc3
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
name: Example workflow for Node using Snyk
on: push
jobs:
security:
snyk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install dependencies
run: npm install

- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
with:
command: test
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

0 comments on commit e77ecc3

Please sign in to comment.