Skip to content

Commit 8ca5544

Browse files
committed
feat(ci): Run yarn-deduplicate in CI
1 parent 9a9fb89 commit 8ca5544

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,9 @@ jobs:
263263
uses: ./.github/actions/restore-cache
264264
with:
265265
dependency_cache_key: ${{ needs.job_build.outputs.dependency_cache_key }}
266+
- name: Check for duplicate dependencies
267+
# Run `npx yarn-deduplicate yarn.lock` locally to resolve any duplicates.
268+
run: npx yarn-deduplicate yarn.lock --list --fail
266269
- name: Lint source files
267270
run: yarn lint:lerna
268271
- name: Lint C++ files

0 commit comments

Comments
 (0)