Skip to content

Commit 98da6bc

Browse files
committed
fix(ci): run npm install befire npm audit to provide temporary package-lock.json
1 parent 7ef6ec0 commit 98da6bc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/tests-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ jobs:
2727
- uses: actions/setup-node@v2
2828
with:
2929
node-version: '12'
30-
- run: npm i # install to create local package-lock.json but don't cache
31-
- run: npm audit --production # no audit for dev dependencies
30+
# install to create local package-lock.json but don't cache the files
31+
# also: no audit for dev dependencies
32+
- run: npm i --package-lock-only && npm audit --production
3233

3334
# STEP 2 - basic unit tests
3435

0 commit comments

Comments
 (0)