Commit d05fefc2 authored by Zach Pomerantz's avatar Zach Pomerantz Committed by GitHub

test: enforce deps deduplication (#4097)

* build: use fewer babel versions

* build: dedup

* test: test deps dedups

* fix: test.yml

* fix: typo

* test: failing

* fix: dedup

* fix: dedup

* test: comment dedup tests

* chore: whitespace
parent 3e1805a2
...@@ -18,6 +18,17 @@ jobs: ...@@ -18,6 +18,17 @@ jobs:
- uses: ./.github/actions/setup - uses: ./.github/actions/setup
- run: yarn lint - run: yarn lint
deps-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup
# Test that deps satisfy both "fewer" and "highest" strategies. This is to ensure we are
# up-to-date ("highest") while avoiding increasing package size ("fewer").
# These are readonly (--list) and explicitly exclude packages which only satisfy one strategy.
- run: npx yarn-deduplicate --strategy=fewer --list --fail --exclude commander safe-buffer
- run: npx yarn-deduplicate --strategy=highest --list --fail --exclude commander safe-buffer
unit-tests: unit-tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment