@@ -24,12 +24,13 @@ jobs:
24
24
run : |
25
25
git config core.symlinks true
26
26
git reset --hard
27
+ - run : rm .npmrc
27
28
- uses : actions/setup-node@v2
28
29
with :
29
30
node-version : ${{ matrix.node-version }}
30
31
cache : npm
31
32
- name : Upgrade npm
32
- run : npm install --global npm@7
33
+ run : npm install --global npm@^8.1.2
33
34
- run : npm install --no-audit
34
35
- run : npm run cover
35
36
- uses : codecov/codecov-action@v2
@@ -45,12 +46,13 @@ jobs:
45
46
ts-version : [~4.4]
46
47
steps :
47
48
- uses : actions/checkout@v2
49
+ - run : rm .npmrc
48
50
- uses : actions/setup-node@v2
49
51
with :
50
52
node-version : ^12.22
51
53
cache : npm
52
54
- name : Upgrade npm
53
- run : npm install --global npm@7
55
+ run : npm install --global npm@^8.1.2
54
56
- run : npm install --no-audit
55
57
- run : npm i typescript@${TS_VERSION}
56
58
env :
@@ -63,13 +65,14 @@ jobs:
63
65
runs-on : ubuntu-latest
64
66
steps :
65
67
- uses : actions/checkout@v2
68
+ - run : rm .npmrc
66
69
- uses : actions/setup-node@v2
67
70
with :
68
71
node-version : ^12.22
69
72
cache : npm
70
73
- name : Upgrade npm
71
- run : if [[ "$(npm -v)" != "7.23 " ]]; then npm install --global npm@7.23 ; fi
72
- - run : npm install --no-audit
74
+ run : if [[ "$(npm -v)" != "8.1.2 " ]]; then npm install --global npm@8.1.2 ; fi
75
+ - run : npm install --no-audit --lockfile-version=3
73
76
- name : Test package-lock for unexpected modifications
74
77
run : |
75
78
npm -v
@@ -85,11 +88,12 @@ jobs:
85
88
runs-on : ubuntu-latest
86
89
steps :
87
90
- uses : actions/checkout@v2
91
+ - run : rm .npmrc
88
92
- uses : actions/setup-node@v2
89
93
with :
90
94
node-version : ^12.22
91
95
- name : Upgrade npm
92
- run : npm install --global npm@7
96
+ run : npm install --global npm@^8.1.2
93
97
- run : npm install --no-shrinkwrap --no-audit
94
98
- run : npm run cover
95
99
@@ -98,11 +102,12 @@ jobs:
98
102
runs-on : ubuntu-latest
99
103
steps :
100
104
- uses : actions/checkout@v2
105
+ - run : rm .npmrc
101
106
- uses : actions/setup-node@v2
102
107
with :
103
108
node-version : ^16.4
104
109
cache : npm
105
110
- name : Upgrade npm
106
- run : npm install --global npm@7
111
+ run : npm install --global npm@^8.1.2
107
112
- run : npm install --no-audit
108
113
- run : npx xo
0 commit comments