Skip to content

Commit 0555d67

Browse files
committed
feat: add audit and fund flags to install
Closes #108
1 parent ba5907b commit 0555d67

File tree

8 files changed

+22
-22
lines changed

8 files changed

+22
-22
lines changed

.github/workflows/audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ jobs:
2323
- name: Update npm to latest
2424
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
2525
- run: npm -v
26-
- run: npm i --ignore-scripts --package-lock
26+
- run: npm i --ignore-scripts --no-audit --no-fund --package-lock
2727
- run: npm audit

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Update npm to latest
3131
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
3232
- run: npm -v
33-
- run: npm i --ignore-scripts
33+
- run: npm i --ignore-scripts --no-audit --no-fund
3434
- run: npm run lint
3535

3636
test:
@@ -82,5 +82,5 @@ jobs:
8282
if: ${{ !startsWith(matrix.node-version, '10.') }}
8383
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
8484
- run: npm -v
85-
- run: npm i --ignore-scripts
85+
- run: npm i --ignore-scripts --no-audit --no-fund
8686
- run: npm test --ignore-scripts

.github/workflows/post-dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3737
run: |
3838
gh pr checkout ${{ github.event.pull_request.number }}
39-
npm install --ignore-scripts
39+
npm install --ignore-scripts --no-audit --no-fund
4040
npm run template-oss-apply
4141
git add .
4242
git commit -am "chore: postinstall for dependabot template-oss PR"

lib/content/audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ jobs:
1212
steps:
1313
{{> setupGit}}
1414
{{> setupNode}}
15-
- run: npm i --ignore-scripts --package-lock
15+
- run: npm i --ignore-scripts --no-audit --no-fund --package-lock
1616
- run: npm audit

lib/content/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
steps:
2929
{{> setupGit}}
3030
{{> setupNode}}
31-
- run: npm i --ignore-scripts
31+
- run: npm i --ignore-scripts --no-audit --no-fund
3232
- run: npm run lint {{~#if isWorkspace}} -w {{pkgName}}{{/if}}
3333

3434
test:
@@ -55,5 +55,5 @@ jobs:
5555
steps:
5656
{{> setupGit}}
5757
{{> setupNode useMatrix=true}}
58-
- run: npm i --ignore-scripts
58+
- run: npm i --ignore-scripts --no-audit --no-fund
5959
- run: npm test --ignore-scripts {{~#if isWorkspace}} -w {{pkgName}}{{/if}}

lib/content/post-dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
GITHUB_TOKEN: $\{{ secrets.GITHUB_TOKEN }}
2727
run: |
2828
gh pr checkout $\{{ github.event.pull_request.number }}
29-
npm install --ignore-scripts
29+
npm install --ignore-scripts --no-audit --no-fund
3030
npm run template-oss-apply
3131
git add .
3232
git commit -am "chore: postinstall for dependabot template-oss PR"

tap-snapshots/test/apply/full-content.js.test.cjs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
- name: Update npm to latest
154154
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
155155
- run: npm -v
156-
- run: npm i --ignore-scripts --package-lock
156+
- run: npm i --ignore-scripts --no-audit --no-fund --package-lock
157157
- run: npm audit
158158
159159
.github/workflows/ci.yml
@@ -190,7 +190,7 @@ jobs:
190190
- name: Update npm to latest
191191
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
192192
- run: npm -v
193-
- run: npm i --ignore-scripts
193+
- run: npm i --ignore-scripts --no-audit --no-fund
194194
- run: npm run lint
195195
196196
test:
@@ -242,7 +242,7 @@ jobs:
242242
if: \${{ !startsWith(matrix.node-version, '10.') }}
243243
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
244244
- run: npm -v
245-
- run: npm i --ignore-scripts
245+
- run: npm i --ignore-scripts --no-audit --no-fund
246246
- run: npm test --ignore-scripts
247247
248248
.github/workflows/codeql-analysis.yml
@@ -332,7 +332,7 @@ jobs:
332332
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
333333
run: |
334334
gh pr checkout \${{ github.event.pull_request.number }}
335-
npm install --ignore-scripts
335+
npm install --ignore-scripts --no-audit --no-fund
336336
npm run template-oss-apply
337337
git add .
338338
git commit -am "chore: postinstall for dependabot template-oss PR"
@@ -632,7 +632,7 @@ jobs:
632632
- name: Update npm to latest
633633
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
634634
- run: npm -v
635-
- run: npm i --ignore-scripts --package-lock
635+
- run: npm i --ignore-scripts --no-audit --no-fund --package-lock
636636
- run: npm audit
637637
638638
.github/workflows/ci-bbb.yml
@@ -673,7 +673,7 @@ jobs:
673673
- name: Update npm to latest
674674
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
675675
- run: npm -v
676-
- run: npm i --ignore-scripts
676+
- run: npm i --ignore-scripts --no-audit --no-fund
677677
- run: npm run lint -w bbb
678678
679679
test:
@@ -725,7 +725,7 @@ jobs:
725725
if: \${{ !startsWith(matrix.node-version, '10.') }}
726726
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
727727
- run: npm -v
728-
- run: npm i --ignore-scripts
728+
- run: npm i --ignore-scripts --no-audit --no-fund
729729
- run: npm test --ignore-scripts -w bbb
730730
731731
.github/workflows/ci-name-aaaa.yml
@@ -766,7 +766,7 @@ jobs:
766766
- name: Update npm to latest
767767
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
768768
- run: npm -v
769-
- run: npm i --ignore-scripts
769+
- run: npm i --ignore-scripts --no-audit --no-fund
770770
- run: npm run lint -w @name/aaaa
771771
772772
test:
@@ -818,7 +818,7 @@ jobs:
818818
if: \${{ !startsWith(matrix.node-version, '10.') }}
819819
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
820820
- run: npm -v
821-
- run: npm i --ignore-scripts
821+
- run: npm i --ignore-scripts --no-audit --no-fund
822822
- run: npm test --ignore-scripts -w @name/aaaa
823823
824824
.github/workflows/ci.yml
@@ -855,7 +855,7 @@ jobs:
855855
- name: Update npm to latest
856856
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
857857
- run: npm -v
858-
- run: npm i --ignore-scripts
858+
- run: npm i --ignore-scripts --no-audit --no-fund
859859
- run: npm run lint
860860
861861
test:
@@ -907,7 +907,7 @@ jobs:
907907
if: \${{ !startsWith(matrix.node-version, '10.') }}
908908
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
909909
- run: npm -v
910-
- run: npm i --ignore-scripts
910+
- run: npm i --ignore-scripts --no-audit --no-fund
911911
- run: npm test --ignore-scripts
912912
913913
.github/workflows/codeql-analysis.yml
@@ -997,7 +997,7 @@ jobs:
997997
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
998998
run: |
999999
gh pr checkout \${{ github.event.pull_request.number }}
1000-
npm install --ignore-scripts
1000+
npm install --ignore-scripts --no-audit --no-fund
10011001
npm run template-oss-apply
10021002
git add .
10031003
git commit -am "chore: postinstall for dependabot template-oss PR"

tap-snapshots/test/check/diffs.js.test.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ The repo file ci.yml needs to be updated:
333333
+ if: \${{ !startsWith(matrix.node-version, '10.') }}
334334
+ run: npm i --prefer-online --no-fund --no-audit -g npm@latest
335335
+ - run: npm -v
336-
+ - run: npm i --ignore-scripts
336+
+ - run: npm i --ignore-scripts --no-audit --no-fund
337337
+ - run: npm test --ignore-scripts
338338
339339
To correct it: npx template-oss-apply --force
@@ -373,7 +373,7 @@ The repo file audit.yml needs to be updated:
373373
- name: Update npm to latest
374374
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
375375
- run: npm -v
376-
- run: npm i --ignore-scripts --package-lock
376+
- run: npm i --ignore-scripts --no-audit --no-fund --package-lock
377377
- run: npm audit
378378
379379

0 commit comments

Comments
 (0)