File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2424 with :
2525 node-version : ${{ matrix.node-version }}
2626
27- # - name: Audit
28- # run: npm audit --audit-level critical
29-
3027 # 14.x fails with "npm ERR! Cannot read property '@commitlint/config-conventional' of undefined"
31- # when running npm ci due to the new package-lock.json format.
28+ # when running ` npm ci` due to the new package-lock.json format. Run `npm i` instead
3229 - name : Install (14.x)
3330 if : matrix.node-version == '14.x'
3431 run : npm i
4845 if : matrix.node-version == '20.x'
4946 run : npm run lint
5047
48+ - name : Audit
49+ if : matrix.node-version == '20.x'
50+ run : npm audit --audit-level critical
51+
5152 - name : Release
5253 if : github.event_name == 'push' && github.ref == 'refs/heads/mainline' && matrix.node-version == '20.x'
5354 run : npm run release
You can’t perform that action at this time.
0 commit comments