File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,15 @@ permissions:
99 contents : read
1010
1111jobs :
12+ audit :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v6
16+ - uses : actions/setup-node@v6
17+ with :
18+ node-version-file : .nvmrc
19+ - run : npm i
20+ - run : npm audit --omit=dev --audit-level=moderate
1221 test :
1322 strategy :
1423 matrix :
2332 - run : npx tsc
2433 - run : npm test
2534 publish :
26- needs : test
35+ needs : [audit, test]
2736 runs-on : ubuntu-latest
2837 steps :
2938 - uses : actions/checkout@v6
Original file line number Diff line number Diff line change 1616 - run : npm i
1717 - run : npm audit --omit=dev --audit-level=moderate
1818 test :
19- needs : audit
2019 strategy :
2120 matrix :
2221 os : [macos-latest, ubuntu-latest, windows-latest]
You can’t perform that action at this time.
0 commit comments