Skip to content

Commit

Permalink
check yarn dedupe
Browse files Browse the repository at this point in the history
  • Loading branch information
F3n67u committed Apr 23, 2022
1 parent 38b0c52 commit 7d4a379
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
run: yarn check-copyright-headers

yarn-validate:
name: Validate Yarn constraints
name: Validate Yarn dependencies and constraints
runs-on: ubuntu-latest
needs: prepare-yarn-cache
steps:
Expand All @@ -93,8 +93,9 @@ jobs:
node-version: lts/*
cache: yarn
- name: 'Check for unmet constraints (fix w/ "yarn constraints --fix")'
run: |
yarn constraints
run: yarn constraints
- name: 'Check for duplicate dependencies (fix w/ "yarn dedupe")'
run: yarn dedupe --check

test:
name: Node v${{ matrix.node-version }} on ${{ matrix.os }} (${{ matrix.shard }})
Expand Down

0 comments on commit 7d4a379

Please sign in to comment.