Skip to content

Commit

Permalink
adds a step to check for vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
Vignesh Kennadi committed Sep 30, 2024
1 parent f6b0bec commit 6e3c87b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ jobs:
cache: 'npm'
cache-dependency-path: '**/package-lock.json'


- name: Install dependencies
run: npm ci
working-directory: xero-node

- name: Check for vulnerabilities
run: npm audit --exit-code

- name: Run Build
run: npm run build
working-directory: xero-node
Expand Down

0 comments on commit 6e3c87b

Please sign in to comment.