Merge pull request #439 from alephium/fix-circular-reference #1480
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: 20 | |
- uses: pnpm/action-setup@v4 | |
- 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 |