mirror of
https://github.com/chenasraf/DefinitelyTyped-tools.git
synced 2026-05-18 01:49:03 +00:00
Fix self-dependency versions (#403)
* Fix self-dependency versions * Print offending sections of yarn.lock * Remove test input from yarn.lock * Spacing * Spacing * Spacing * Simplify bash Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
This commit is contained in:
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@@ -17,6 +17,19 @@ jobs:
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
- name: check dependencies
|
||||
run: |
|
||||
if grep "@definitelytyped/" yarn.lock; then
|
||||
echo ""
|
||||
echo "A package in this monorepo is depending on an older version of one of its siblings. \
|
||||
Ensure all '@definitelytyped/*' dependencies in package.json files use the version \
|
||||
listed in lerna.json to let lerna automatically keep them in sync."
|
||||
|
||||
echo ""
|
||||
echo "yarn.lock"
|
||||
cat yarn.lock | grep -A 5 -n "@definitelytyped/"
|
||||
exit 1
|
||||
fi
|
||||
- name: install
|
||||
run: yarn install --frozen-lockfile
|
||||
- name: lint
|
||||
|
||||
Reference in New Issue
Block a user