Add GetZoneCommand to new client and ownerId queryParam to legacy getZone
#173
This file contains hidden or 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: Build | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| code-quality: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: '[Prepare] Checkout' | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: '[Prepare] Setup Node.js' | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: 'package.json' | |
| cache: 'npm' | |
| - name: '[Prepare] Install dependencies' | |
| run: npm ci | |
| - name: '[Code quality] Check commit message' | |
| if: github.event_name == 'pull_request' | |
| run: node ./node_modules/@commitlint/cli/cli.js --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose | |
| - name: '[Code quality] Check ESLint' | |
| run: npm run lint | |
| - name: '[Code quality] Check types' | |
| run: npm run typecheck | |
| - name: '[Code quality] Check format' | |
| run: npm run format:check | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: '[Prepare] Checkout' | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: '[Prepare] Setup Node.js' | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: 'package.json' | |
| cache: 'npm' | |
| - name: '[Prepare] Install dependencies' | |
| run: npm ci | |
| - name: '[Unit tests] Browser tests' | |
| run: npm run test:unit:browser | |
| - name: '[Unit tests] Node tests' | |
| run: npm run test:unit:node | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: '[Prepare] Checkout' | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: '[Prepare] Setup Node.js' | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: 'package.json' | |
| cache: 'npm' | |
| - name: '[Prepare] Install dependencies' | |
| run: npm ci | |
| - name: '[Build]' | |
| run: npm run build |