Skip to content

Commit

Permalink
ci: add check for unnessary duplicates in package-lock.json
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Dec 4, 2021
1 parent c145cd4 commit 145cc42
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -67,6 +67,12 @@ jobs:
- name: Check that package-lock.json is in sync with package.json
run: git diff --exit-code package-lock.json

- name: Run npm dedupe
run: npm dedupe

- name: Check that package-lock.json doesn't contain unnecessary duplicates
run: git diff --exit-code package-lock.json

- name: Check that package-lock.json doesn't have conflicts
run: npm ls --depth 999

Expand Down

0 comments on commit 145cc42

Please sign in to comment.