feat(api): use same schema for input and output #358
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
web: | |
name: Web (Build, Lint, Check) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest] | |
node-version: [18.x, 20.x] | |
pnpm-version: [8] | |
python-version: ['3.11'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Environment | |
uses: ./.github/actions/setup-environment | |
with: | |
node-version: ${{ matrix.node-version }} | |
pnpm-version: ${{ matrix.pnpm-version }} | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run linting check | |
run: pnpm web lint | |
- name: Run diagnostics check | |
run: pnpm web check --output machine | |
- name: Run build | |
run: pnpm web build |