feat(cli): standardize --json output with machine-friendly envelope #30
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| env: | |
| DENO_NODE_MODULES_DIR: none | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: denoland/setup-deno@v2 | |
| with: | |
| deno-version: v2.6.8 | |
| - name: Cache Deno dependencies | |
| run: deno cache --node-modules-dir=none npm:@graphql-codegen/cli/graphql-codegen-esm | |
| - name: Generate GraphQL code | |
| run: deno task codegen | |
| - name: Check formatting | |
| run: deno fmt --check | |
| - name: Lint code | |
| run: deno lint | |
| - name: Type check | |
| run: deno task check | |
| - name: Run tests | |
| run: deno task test |