chore: improve performance by skipping unnecessary JSON pointer (un)escaping #8247
Workflow file for this run
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 and Test | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| push: | |
| branches: | |
| - main | |
| env: | |
| CI: true | |
| REDOCLY_TELEMETRY: off | |
| jobs: | |
| build-and-unit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Typecheck | |
| run: npm run typecheck | |
| - name: Unit Tests | |
| run: npm run unit | |
| - name: Coverage Report | |
| if: always() # Also generate the report if tests are failing | |
| continue-on-error: true # Do not fail if there is an error during reporting | |
| uses: davelosert/vitest-coverage-report-action@v2 | |
| - name: E2E Tests | |
| run: npm run e2e | |
| code-style-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - run: npm run eslint | |
| - run: npm run prettier:check |