fix(codeql): run workflow for pushes to main and pull requests #4791
Workflow file for this run
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: | |
merge_group: | |
jobs: | |
peer-api-check: | |
runs-on: ubuntu-latest | |
container: | |
image: node:20 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install lerna | |
run: npm install -g lerna | |
- name: Install semver | |
run: npm install semver | |
- name: Check API dependency semantics | |
working-directory: packages | |
run: lerna run peer-api-check |