Skip to content

Commit

Permalink
ci: audit check in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Apr 4, 2022
1 parent a315ad4 commit 3adf1a4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ on:
- cron: 0 10 * * 1-5

jobs:
audit:
name: NPM Audit (Production)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install dependencies
run: npx panva/npm-install-retry
- run: npm audit --production

test:
name: Node Tests + Coverage
runs-on: ubuntu-latest
Expand Down Expand Up @@ -108,6 +122,7 @@ jobs:
conformance-suite:
runs-on: ubuntu-latest
needs:
- audit
- test
- electron
- build-conformance-suite
Expand Down

0 comments on commit 3adf1a4

Please sign in to comment.