feat(endpoints): store and use "group“ (#2966) #10637
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: Yaml Validation | |
on: | |
push: | |
branches: | |
- master | |
- staging/** | |
pull_request: | |
merge_group: | |
concurrency: | |
group: validation-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
yaml_validation_job: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: '0' | |
- uses: actions/setup-node@v4 | |
with: | |
cache: 'npm' | |
node-version-file: '.nvmrc' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Validate YAML | |
run: | | |
npm ci | |
npx tsx scripts/validation/providers/validate.ts | |
- name: Validate OpenAPI | |
run: npm run test:openapi |