Skip to content

Commit

Permalink
action: package lock should be updated before audit fix runs
Browse files Browse the repository at this point in the history
  • Loading branch information
neverendingqs authored Jul 10, 2020
1 parent 2acd086 commit e2d6013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ BUMP_VERSION=${4}
npx npm-check-updates -u

if [ "${PACKAGE_MANAGER}" == 'npm' ]; then
npm audit fix --force
npm i --package-lock-only
npm audit fix --force
elif [ "${PACKAGE_MANAGER}" == 'yarn' ]; then
yarn install
else
Expand Down

0 comments on commit e2d6013

Please sign in to comment.