feat(router): add typed file routes with codegen and Standard Schema validation with JSON-LD support #4375
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: ci | |
| on: | |
| pull_request: {} | |
| env: | |
| NODE_OPTIONS: --max-old-space-size=16384 | |
| NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} | |
| NX_VERBOSE_LOGGING: ${{ vars.NX_VERBOSE_LOGGING }} | |
| NX_ISOLATE_PLUGINS: 'false' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.number || github.sha }} | |
| cancel-in-progress: true | |
| jobs: | |
| ci-linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Prettier + Lint + Build + Test + E2E | |
| uses: dagger/dagger-for-github@v8.4.0 | |
| with: | |
| version: '0.20.3' | |
| verb: call | |
| args: ci --source=. --nx-cloud-token=env:NX_CLOUD_ACCESS_TOKEN | |
| cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }} | |
| build-native: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [windows-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .node-version | |
| - name: Clear hosted tool-cache for corepack | |
| if: runner.os == 'Windows' | |
| run: Remove-Item -Recurse -Force (Get-Command corepack.cmd).Path | |
| shell: pwsh | |
| - name: Install Corepack | |
| run: npm install --global --force corepack@latest | |
| - name: Enable Corepack | |
| run: | | |
| corepack enable | |
| pnpm --version | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .node-version | |
| cache: 'pnpm' | |
| cache-dependency-path: '**/pnpm-lock.yaml' | |
| - name: Install | |
| run: pnpm install --frozen-lockfile --prefer-offline | |
| - name: Build | |
| run: pnpm build | |
| - name: Verify | |
| if: runner.os == 'Windows' | |
| run: more dist\apps\blog-app\analog\public\index.html |