build: only test for highest yarn-deduplicate strategy (#4154)

* build: only test for highest yarn-deduplicate strategy

* remove exclusions
This commit is contained in:
Vignesh Mohankumar 2022-07-20 17:33:54 -04:00 committed by GitHub
parent 0e3c95706e
commit c4c6d7553d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,11 +23,7 @@ jobs:
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
- run: npx yarn-deduplicate --strategy=highest --list --fail
unit-tests:
runs-on: ubuntu-latest