diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7158b62..e897080 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,8 +5,13 @@ on: branches: ["main"] pull_request: +permissions: + actions: read + contents: read + security-events: write + jobs: - build: + verify: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -16,3 +21,12 @@ jobs: cache: "npm" - run: npm ci - run: npm run verify + + vulnerability-scan: + uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v2.3.3 + with: + scan-args: |- + --lockfile=package-lock.json + . + upload-sarif: false + fail-on-vuln: false