APIBot: SDK update based on recent changes in Atlas API #368
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: OpenAPI Tools build | |
on: | |
pull_request: | |
paths: | |
- "tools/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
cache-dependency-path: ./tools/package-lock.json | |
- working-directory: ./tools | |
run: | | |
npm install | |
npm run ci | |
- working-directory: ./tools | |
run: | | |
make clean_and_generate | |
- name: Fail when generate introducing diff | |
run: | | |
git diff --exit-code | |