release: v0.9.1 (content-blocked fallback fix & agentrouter dynamic h… #73
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: Cross-platform build matrix | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Build (${{ matrix.os }} / Node ${{ matrix.node }}) | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 20 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - windows-latest | |
| - macos-latest | |
| node: | |
| - 22 | |
| - 24 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - name: Setup Node.js ${{ matrix.node }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| # Note: setup-node's pnpm cache requires a workspace "packages" field, | |
| # which this repo does not use. pnpm/action-setup handles installation. | |
| - name: Configure pnpm hoisting config | |
| shell: bash | |
| run: | | |
| echo "public-hoist-pattern=*" >> .npmrc | |
| echo "shamefully-hoist=true" >> .npmrc | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Run no-undef lint (catch undefined before build) | |
| run: pnpm lint:undef | |
| - name: Build application | |
| run: node scripts/build.js | |
| - name: Verify standalone output exists | |
| shell: bash | |
| run: | | |
| test -d .next/standalone | |
| test -f .next/standalone/server.js |