fix(sdk-metrics): hand-roll MetricAdvice type as older API versions d… #5102
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 [email protected] | |
- name: Install semver | |
run: npm install semver | |
- name: Check API dependency semantics | |
working-directory: packages | |
run: lerna run peer-api-check |