Skip to content

Commit 6c621d2

Browse files
bakkotljharb
authored andcommitted
Meta: do not npm audit in CI (#3390)
1 parent cb2495c commit 6c621d2

8 files changed

+22
-8
lines changed

.github/workflows/build.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v3
1212
- uses: ljharb/actions/node/install@d9f477827ed71a259056764107f74afc29febcae
13-
name: 'nvm install lts/* && npm ci'
13+
name: 'nvm install lts/* && npm ci --no-audit'
14+
env:
15+
NPM_CONFIG_AUDIT: false
1416
with:
1517
node-version: lts/*
1618
use-npm-ci: true

.github/workflows/deploy.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v3
1616
- uses: ljharb/actions/node/install@d9f477827ed71a259056764107f74afc29febcae
17-
name: 'nvm install lts/* && npm ci'
17+
name: 'nvm install lts/* && npm ci --no-audit'
18+
env:
19+
NPM_CONFIG_AUDIT: false
1820
with:
1921
node-version: lts/*
2022
use-npm-ci: true

.github/workflows/enforce-format.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v3
1212
- uses: ljharb/actions/node/install@d9f477827ed71a259056764107f74afc29febcae
13-
name: 'nvm install lts/* && npm ci'
13+
name: 'nvm install lts/* && npm ci --no-audit'
14+
env:
15+
NPM_CONFIG_AUDIT: false
1416
with:
1517
node-version: lts/*
1618
use-npm-ci: true

.github/workflows/ipr.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v3
1818
- uses: ljharb/actions/node/install@d9f477827ed71a259056764107f74afc29febcae
19-
name: 'nvm install lts/* && npm ci'
19+
name: 'nvm install lts/* && npm ci --no-audit'
20+
env:
21+
NPM_CONFIG_AUDIT: false
2022
with:
2123
node-version: lts/*
2224
use-npm-ci: true

.github/workflows/preview-build.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v3
1212
- uses: ljharb/actions/node/install@d9f477827ed71a259056764107f74afc29febcae
13-
name: 'nvm install lts/* && npm ci'
13+
name: 'nvm install lts/* && npm ci --no-audit'
14+
env:
15+
NPM_CONFIG_AUDIT: false
1416
with:
1517
node-version: lts/*
1618
use-npm-ci: true

.github/workflows/preview.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v3
2222
- uses: ljharb/actions/node/install@d9f477827ed71a259056764107f74afc29febcae
23-
name: 'nvm install lts/* && npm ci'
23+
name: 'nvm install lts/* && npm ci --no-audit'
24+
env:
25+
NPM_CONFIG_AUDIT: false
2426
with:
2527
node-version: lts/*
2628
use-npm-ci: true

.github/workflows/publish-biblio.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
registry-url: 'https://registry.npmjs.org'
2525

2626
- name: Install dependencies
27-
run: npm ci
27+
run: npm ci --no-audit
2828

2929
- name: Publish biblio
3030
run: scripts/publish-biblio.sh

.github/workflows/spellcheck.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ jobs:
1515
# Default: 1
1616
fetch-depth: 0
1717
- uses: ljharb/actions/node/install@d9f477827ed71a259056764107f74afc29febcae
18-
name: 'nvm install lts/* && npm ci'
18+
name: 'nvm install lts/* && npm ci --no-audit'
19+
env:
20+
NPM_CONFIG_AUDIT: false
1921
with:
2022
node-version: lts/*
2123
use-npm-ci: true

0 commit comments

Comments
 (0)