Skip to content

Commit

Permalink
Update development-workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinOomenTheDeveloper authored Jun 18, 2024
1 parent a5f7c76 commit 117fd3e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/development-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,14 @@ jobs:

- name: Install Snyk CLI
run: npm install -g snyk # Install Snyk CLI globally
- name: Snyk security scan

- name: Authenticate with Snyk
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
run: npx snyk test --all-projects --json > snyk-output.json
run: npx snyk auth $SNYK_TOKEN

- name: Run Snyk security scan
run: npx snyk test --json > snyk-output.json

- name: Upload Snyk results
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 117fd3e

Please sign in to comment.