Skip to content

Commit

Permalink
feat: update snyk.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
khoilen authored Dec 30, 2024
1 parent 9c17226 commit eec0384
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
name: Snyk Security Check
on: [push,pull_request]
on:
push:
pull_request:

jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies with pnpm
run: pnpm install
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
uses: snyk/actions/node@v1.8.0
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

0 comments on commit eec0384

Please sign in to comment.