File tree Expand file tree Collapse file tree 3 files changed +5
-53
lines changed Expand file tree Collapse file tree 3 files changed +5
-53
lines changed Original file line number Diff line number Diff line change 33
33
run : npm -v
34
34
- name : Install Dependencies
35
35
run : npm i --ignore-scripts --no-audit --no-fund --package-lock
36
- - name : Run Audit
37
- run : npm audit
36
+ - name : Run Production Audit
37
+ run : npm audit --omit=dev
38
+ - name : Run Full Audit
39
+ run : npm audit --audit-level=none
Original file line number Diff line number Diff line change 14
14
- cron : " 0 9 * * 1"
15
15
16
16
jobs :
17
- engines :
18
- name : Engines - ${{ matrix.platform.name }} - ${{ matrix.node-version }}
19
- if : github.repository_owner == 'npm'
20
- strategy :
21
- fail-fast : false
22
- matrix :
23
- platform :
24
- - name : Linux
25
- os : ubuntu-latest
26
- shell : bash
27
- node-version :
28
- - 14.17.0
29
- - 16.13.0
30
- - 18.0.0
31
- runs-on : ${{ matrix.platform.os }}
32
- defaults :
33
- run :
34
- shell : ${{ matrix.platform.shell }}
35
- steps :
36
- - name : Checkout
37
- uses : actions/checkout@v3
38
- - name : Setup Git User
39
- run : |
40
- git config --global user.email "[email protected] "
41
- git config --global user.name "npm CLI robot"
42
- - name : Setup Node
43
- uses : actions/setup-node@v3
44
- with :
45
- node-version : ${{ matrix.node-version }}
46
- - name : Update Windows npm
47
- # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows
48
- if : matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12.') || startsWith(matrix.node-version, '14.'))
49
- run : |
50
- curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz
51
- tar xf npm-7.5.4.tgz
52
- cd package
53
- node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz
54
- cd ..
55
- rmdir /s /q package
56
- - name : Install npm@7
57
- if : startsWith(matrix.node-version, '10.')
58
- run : npm i --prefer-online --no-fund --no-audit -g npm@7
59
- - name : Install npm@latest
60
- if : ${{ !startsWith(matrix.node-version, '10.') }}
61
- run : npm i --prefer-online --no-fund --no-audit -g npm@latest
62
- - name : npm Version
63
- run : npm -v
64
- - name : Install Dependencies
65
- run : npm i --ignore-scripts --no-audit --no-fund --engines-strict
66
-
67
17
lint :
68
18
name : Lint
69
19
if : github.repository_owner == 'npm'
Original file line number Diff line number Diff line change 42
42
},
43
43
"templateOSS" : {
44
44
"//@npmcli/template-oss" : " This file is partially managed by @npmcli/template-oss. Edits may be overwritten." ,
45
- "version" : " 4.7.1 "
45
+ "version" : " 4.8.0 "
46
46
},
47
47
"tap" : {
48
48
"nyc-arg" : [
You can’t perform that action at this time.
0 commit comments