fix: ensure only one lockfile is used (#45230)
* fix: ensure only one lockfile is used * fix: remove extra lockfiles
This commit is contained in:
committed by
GitHub
parent
7b1196ba8f
commit
94be3c3e7d
8
.github/workflows/node.js-tests.yml
vendored
8
.github/workflows/node.js-tests.yml
vendored
@ -18,6 +18,14 @@ jobs:
|
||||
- name: Checkout Source Files
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Check number of lockfiles
|
||||
run: |
|
||||
if [ $(find . -name 'package-lock.json' | grep -vc -e 'node_modules') -gt 1 ]
|
||||
then
|
||||
echo 'Error: found too many lockfiles in the repository'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
|
46521
tools/ui-components/package-lock.json
generated
46521
tools/ui-components/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user