chore: add 'lint:deps' script to check for unused and unlisted deps (… #11028
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ensure API Peer Dependency | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
peer-api-check: | |
runs-on: ubuntu-latest | |
container: | |
image: node:20 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install script dependencies | |
run: npm ci | |
- name: Check API dependency semantics | |
run: npx lerna exec "node \$LERNA_ROOT_PATH/scripts/peer-api-check.js" |