File tree Expand file tree Collapse file tree 2 files changed +13900
-19
lines changed Expand file tree Collapse file tree 2 files changed +13900
-19
lines changed Original file line number Diff line number Diff line change 29
29
- uses : actions/setup-node@v2
30
30
with :
31
31
node-version : ${{ matrix.node-version }}
32
+ - name : Upgrade npm
33
+ run : npm install --global npm@7
32
34
- run : npm ci --no-audit
33
35
- run : npm run cover
34
36
- uses : codecov/codecov-action@v1
49
51
- uses : actions/setup-node@v2
50
52
with :
51
53
node-version : ^12.20
54
+ - name : Upgrade npm
55
+ run : npm install --global npm@7
52
56
- run : npm ci --no-audit
53
57
- run : npm i typescript@${TS_VERSION}
54
58
env :
67
71
with :
68
72
node-version : ^12.20
69
73
- name : Upgrade npm
70
- run : if [[ "$(npm -v)" != "6.14.10 " ]]; then npm install --global npm@6.14.10 ; fi
74
+ run : if [[ "$(npm -v)" != "7.5.2 " ]]; then npm install --global npm@7.5.2 ; fi
71
75
- run : npm ci --no-audit
72
76
- name : Test package-lock for unexpected modifications
73
77
run : |
89
93
- uses : actions/setup-node@v2
90
94
with :
91
95
node-version : ^12.20
96
+ - name : Upgrade npm
97
+ run : npm install --global npm@7
92
98
- run : npm install --no-shrinkwrap --no-audit
93
99
- run : npm run cover
94
100
@@ -102,5 +108,7 @@ jobs:
102
108
- uses : actions/setup-node@v2
103
109
with :
104
110
node-version : ^12.20
111
+ - name : Upgrade npm
112
+ run : npm install --global npm@7
105
113
- run : npm ci
106
114
- run : npx xo
You can’t perform that action at this time.
0 commit comments