Skip to content

Commit f209b0e

Browse files
authored
Merge pull request #1672 from bitcoinjs/addAuditTest
Add npm audit CI job
2 parents 793bf5a + 79e65ee commit f209b0e

File tree

4 files changed

+311
-146
lines changed

4 files changed

+311
-146
lines changed

.github/workflows/main_ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ on:
77
pull_request:
88

99
jobs:
10+
audit:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v1
15+
with:
16+
node-version: 12
17+
registry-url: https://registry.npmjs.org/
18+
- run: npm ci
19+
- run: npm run audit
1020
unit:
1121
runs-on: ubuntu-latest
1222
steps:

.npm-audit-whitelister.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]

0 commit comments

Comments
 (0)