chore: add docs for --json usage #837
Workflow file for this run
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: E2E Test | |
on: | |
push: | |
branches: | |
- main | |
- release | |
pull_request: | |
jobs: | |
ci: | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "pnpm" | |
- run: pnpm install | |
- run: pnpm tsx script/ci.ts | |
working-directory: ./packages/backend | |
env: | |
NITRO_WEBHOOK_SECRET: ${{ secrets.NITRO_WEBHOOK_SECRET }} | |
NITRO_APP_ID: ${{ secrets.NITRO_APP_ID }} | |
NITRO_PRIVATE_KEY: ${{ secrets.NITRO_PRIVATE_KEY }} | |
NITRO_RM_STALE_KEY: ${{ secrets.NITRO_RM_STALE_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- run: pnpm build | |
- run: pnpm test | |
env: | |
NITRO_WEBHOOK_SECRET: ${{ secrets.NITRO_WEBHOOK_SECRET }} | |
NITRO_APP_ID: ${{ secrets.NITRO_APP_ID }} | |
NITRO_PRIVATE_KEY: ${{ secrets.NITRO_PRIVATE_KEY }} | |
NITRO_RM_STALE_KEY: ${{ secrets.NITRO_RM_STALE_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |