Repository navigation
perf(jni): bound completed scan outputs with background prefetch #18018
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: Vortex Web | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize, ready_for_review] | |
| push: | |
| branches: [develop] | |
| permissions: | |
| contents: read | |
| defaults: | |
| run: | |
| working-directory: vortex-web | |
| jobs: | |
| changes: | |
| name: Detect Changes | |
| if: github.event.pull_request.draft != true | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| permissions: | |
| pull-requests: read | |
| outputs: | |
| web: ${{ steps.filter.outputs.web }} | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| - uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4 | |
| id: filter | |
| with: | |
| filters: | | |
| web: | |
| - "vortex-web/**" | |
| - ".github/workflows/web.yml" | |
| - ".github/workflows/deploy-vercel.yml" | |
| - ".github/vercel-cli/**" | |
| check: | |
| name: Check & Lint | |
| needs: [changes] | |
| if: needs.changes.outputs.web == 'true' | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| - uses: ./.github/actions/setup-rust | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Install wasm-pack | |
| uses: taiki-e/install-action@1e29709c0ec63babbe8f266397a465f29a825f91 # v2 | |
| with: | |
| tool: wasm-pack@0.15.0 | |
| - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0 | |
| with: | |
| bun-version: 1.4.3 | |
| # Storybook and Vite run on Node, and Bun runs their scripts with it. | |
| - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7 | |
| with: | |
| node-version: "24" | |
| - run: bun install --frozen-lockfile | |
| - run: bun run wasm | |
| - run: bun run format:check | |
| - run: bun run lint | |
| - run: bun run typecheck | |
| - run: bun run build-storybook | |
| build: | |
| name: Build | |
| needs: [changes] | |
| if: needs.changes.outputs.web == 'true' | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| - uses: ./.github/actions/setup-rust | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Install wasm-pack | |
| uses: taiki-e/install-action@1e29709c0ec63babbe8f266397a465f29a825f91 # v2 | |
| with: | |
| tool: wasm-pack@0.15.0 | |
| - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0 | |
| with: | |
| bun-version: 1.4.3 | |
| # Storybook and Vite run on Node, and Bun runs their scripts with it. | |
| - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7 | |
| with: | |
| node-version: "24" | |
| - run: bun install --frozen-lockfile | |
| - run: bun run build | |
| - name: Upload build artifact | |
| uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 | |
| with: | |
| name: vortex-explorer | |
| path: vortex-web/dist/ | |
| deploy: | |
| name: Deploy to Vercel | |
| needs: [build] | |
| # Fork PRs get no secrets, so only pushes and same-repo PRs deploy. | |
| if: >- | |
| github.event_name == 'push' || | |
| github.event.pull_request.head.repo.full_name == github.repository | |
| permissions: | |
| contents: read | |
| deployments: write | |
| uses: ./.github/workflows/deploy-vercel.yml | |
| # A called workflow only sees the secrets its caller passes, including | |
| # the secrets of the environment the called job deploys to. | |
| secrets: inherit | |
| with: | |
| environment: vercel-explorer | |
| artifact-name: vortex-explorer | |
| config: vortex-web/vercel-output-config.json | |
| production: ${{ github.event_name == 'push' }} |