File tree Expand file tree Collapse file tree 3 files changed +5
-51
lines changed Expand file tree Collapse file tree 3 files changed +5
-51
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
- - 10.0.0
29
- runs-on : ${{ matrix.platform.os }}
30
- defaults :
31
- run :
32
- shell : ${{ matrix.platform.shell }}
33
- steps :
34
- - name : Checkout
35
- uses : actions/checkout@v3
36
- - name : Setup Git User
37
- run : |
38
- git config --global user.email "[email protected] "
39
- git config --global user.name "npm CLI robot"
40
- - name : Setup Node
41
- uses : actions/setup-node@v3
42
- with :
43
- node-version : ${{ matrix.node-version }}
44
- - name : Update Windows npm
45
- # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows
46
- if : matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12.') || startsWith(matrix.node-version, '14.'))
47
- run : |
48
- curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz
49
- tar xf npm-7.5.4.tgz
50
- cd package
51
- node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz
52
- cd ..
53
- rmdir /s /q package
54
- - name : Install npm@7
55
- if : startsWith(matrix.node-version, '10.')
56
- run : npm i --prefer-online --no-fund --no-audit -g npm@7
57
- - name : Install npm@latest
58
- if : ${{ !startsWith(matrix.node-version, '10.') }}
59
- run : npm i --prefer-online --no-fund --no-audit -g npm@latest
60
- - name : npm Version
61
- run : npm -v
62
- - name : Install Dependencies
63
- run : npm i --ignore-scripts --no-audit --no-fund --engines-strict
64
-
65
17
lint :
66
18
name : Lint
67
19
if : github.repository_owner == 'npm'
Original file line number Diff line number Diff line change 53
53
"author" : " GitHub Inc." ,
54
54
"templateOSS" : {
55
55
"//@npmcli/template-oss" : " This file is partially managed by @npmcli/template-oss. Edits may be overwritten." ,
56
- "version" : " 4.7.1 " ,
56
+ "version" : " 4.8.0 " ,
57
57
"engines" : " >=10" ,
58
58
"ciVersions" : [
59
59
" 10.0.0" ,
You can’t perform that action at this time.
0 commit comments