Skip to content

Commit

Permalink
Adding audit.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsommardahl committed Apr 18, 2024
1 parent cd094cb commit 77f8b93
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
build:
name: Build Frontend Artifact
needs: audit
runs-on: ubuntu
steps:
- uses: actions/checkout@v4
Expand All @@ -29,4 +30,12 @@ jobs:
uses: actions/upload-pages-artifact@v1
with:
path: frontend/build

audit:
name: 🛡️ Audit Frontend Packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Check for vulnerabilities
run: cd frontend && npm audit --omit=dev

0 comments on commit 77f8b93

Please sign in to comment.