Skip to content

Commit

Permalink
Merge branch 'feature/snyk' of https://github.com/SpotiCloud/frontend
Browse files Browse the repository at this point in the history
…into feature/snyk
  • Loading branch information
KevinOomenTheDeveloper committed Jun 18, 2024
2 parents f73683a + ff91b7f commit d82e9c8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/development-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +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
echo "Snyk scan completed."
run: npx snyk auth $SNYK_TOKEN

- name: Run Snyk security scan
run: npx snyk test

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

0 comments on commit d82e9c8

Please sign in to comment.