Don't report warnings if the contract is not changed #1214
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 Test | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- uses: pnpm/action-setup@v3.0.0 | |
with: | |
version: 8.14 | |
- run: cd packages/web3 && pnpm i | |
# Wait for this issue to be resolved: https://github.com/acacode/swagger-typescript-api/issues/370 | |
- run: npm run update-schemas && test -z "$(git status --porcelain)" | |
- run: npm run build |