build: only test for highest yarn-deduplicate strategy (#4154)
* build: only test for highest yarn-deduplicate strategy * remove exclusions
This commit is contained in:
parent
0e3c95706e
commit
c4c6d7553d
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user