Commit c4c6d755 authored by Vignesh Mohankumar's avatar Vignesh Mohankumar Committed by GitHub

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

* build: only test for highest yarn-deduplicate strategy

* remove exclusions
parent 0e3c9570
...@@ -23,11 +23,7 @@ jobs: ...@@ -23,11 +23,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: ./.github/actions/setup - uses: ./.github/actions/setup
# Test that deps satisfy both "fewer" and "highest" strategies. This is to ensure we are - run: npx yarn-deduplicate --strategy=highest --list --fail
# 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
......
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