run lockfile-lint on both package-lock.json

only-one-package.json
webzwo0i 2021-01-02 00:25:12 +01:00
parent 6d626c90d3
commit 8793c4e225
1 changed files with 4 additions and 1 deletions

View File

@ -20,5 +20,8 @@ jobs:
- name: Install lockfile-lint - name: Install lockfile-lint
run: npm install lockfile-lint run: npm install lockfile-lint
- name: Run lockfile-lint on package-lock.json - name: Run lockfile-lint on src/package-lock.json
run: npx lockfile-lint --path src/package-lock.json --validate-https --allowed-hosts npm run: npx lockfile-lint --path src/package-lock.json --validate-https --allowed-hosts npm
- name: Run lockfile-lint on package-lock.json
run: npx lockfile-lint --path package-lock.json --validate-https --allowed-hosts npm