fix(epoxy): use vbare #2005
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: frontend | |
| on: | |
| pull_request: | |
| paths: | |
| - .github/workflows/frontend.yml | |
| - frontend/** | |
| - engine/sdks/typescript/** | |
| - rivetkit-typescript/** | |
| - website/** | |
| concurrency: | |
| group: frontend-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| dashboard-quality-check: | |
| name: Dashboard / Quality Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: biomejs/setup-biome@v2 | |
| with: | |
| version: latest | |
| - run: biome check ./frontend --formatter-enabled=true --linter-enabled=false --assist-enabled=false --reporter=github | |
| rivetkit-quality-check: | |
| name: RivetKit / Quality Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: biomejs/setup-biome@v2 | |
| with: | |
| version: latest | |
| - run: biome check ./rivetkit-typescript --formatter-enabled=true --linter-enabled=false --assist-enabled=false --reporter=github | |
| # website-quality-check: | |
| # name: Website / Quality Check | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # - uses: biomejs/setup-biome@v2 | |
| # with: | |
| # version: latest | |
| # - run: biome check ./website --reporter=github | |
| dashboard-type-check: | |
| name: Dashboard / Type Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| lfs: 'true' | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - uses: actions/cache@v4 | |
| with: | |
| path: .turbo | |
| key: ${{ runner.os }}-turbo-${{ github.sha }} | |
| restore-keys: | | |
| ${{ runner.os }}-turbo- | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm build --filter='./frontend' | |
| env: | |
| NODE_OPTIONS: '--max-old-space-size=8192' | |
| - run: pnpm check-types | |
| working-directory: ./frontend | |
| rivetkit-type-check: | |
| name: RivetKit / Type Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| lfs: 'true' | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - uses: actions/cache@v4 | |
| with: | |
| path: .turbo | |
| key: ${{ runner.os }}-turbo-${{ github.sha }} | |
| restore-keys: | | |
| ${{ runner.os }}-turbo- | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm exec turbo run build --filter='./rivetkit-typescript/packages/*' | |
| - run: pnpm exec turbo run check-types --filter='./rivetkit-typescript/packages/*' | |
| # website-type-check: | |
| # name: Website / Type Check | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # with: | |
| # lfs: 'true' | |
| # - uses: pnpm/action-setup@v4 | |
| # - uses: actions/setup-node@v4 | |
| # with: | |
| # node-version-file: .node-version | |
| # cache: pnpm | |
| # - uses: actions/cache@v4 | |
| # with: | |
| # path: .turbo | |
| # key: ${{ runner.os }}-turbo-${{ github.sha }} | |
| # restore-keys: | | |
| # ${{ runner.os }}-turbo- | |
| # - run: pnpm install --frozen-lockfile | |
| # - run: pnpm build | |
| # - run: pnpm check-types | |
| # working-directory: ./website | |
| dashboard-e2e-cloud: | |
| name: Dashboard / E2E Tests / Cloud (${{ matrix.shardIndex }}/${{ matrix.shardTotal }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| shardIndex: [1] | |
| shardTotal: [1] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| lfs: 'true' | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - uses: actions/cache@v4 | |
| with: | |
| path: .turbo | |
| key: ${{ runner.os }}-turbo-${{ github.sha }} | |
| restore-keys: | | |
| ${{ runner.os }}-turbo- | |
| - uses: actions/cache@v4 | |
| id: playwright-cache | |
| with: | |
| path: ~/.cache/ms-playwright | |
| key: ${{ runner.os }}-playwright-${{ hashFiles('frontend/package.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-playwright- | |
| - run: pnpm install --frozen-lockfile | |
| - name: Install Playwright browsers | |
| if: steps.playwright-cache.outputs.cache-hit != 'true' | |
| run: pnpm exec playwright install --with-deps chromium | |
| working-directory: ./frontend | |
| - name: Install Playwright system deps | |
| if: steps.playwright-cache.outputs.cache-hit == 'true' | |
| run: pnpm exec playwright install-deps chromium | |
| working-directory: ./frontend | |
| - name: Build frontend workspace dependencies | |
| run: pnpm build --filter='./frontend' | |
| env: | |
| NODE_OPTIONS: '--max-old-space-size=8192' | |
| - name: Build cloud dashboard | |
| run: pnpm build:cloud | |
| working-directory: ./frontend | |
| env: | |
| NODE_OPTIONS: '--max-old-space-size=8192' | |
| VITE_APP_CLERK_PUBLISHABLE_KEY: ${{ secrets.E2E_CLERK_PUBLISHABLE_KEY }} | |
| VITE_APP_CLOUD_API_URL: ${{ secrets.E2E_CLOUD_API_URL }} | |
| VITE_APP_API_URL: https://api.staging.rivet.dev | |
| - name: Run cloud E2E tests | |
| run: pnpm exec playwright test --project=cloud --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} --reporter=list,github | |
| working-directory: ./frontend | |
| env: | |
| CLERK_SECRET_KEY: ${{ secrets.E2E_CLERK_SECRET_KEY }} | |
| CLERK_PUBLISHABLE_KEY: ${{ secrets.E2E_CLERK_PUBLISHABLE_KEY }} | |
| E2E_CLERK_USER_EMAIL: ${{ secrets.E2E_CLERK_USER_EMAIL }} | |
| E2E_CLERK_USER_PASSWORD: ${{ secrets.E2E_CLERK_USER_PASSWORD }} | |
| - name: Upload HTML report | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: cloud-e2e-report-${{ matrix.shardIndex }} | |
| path: frontend/playwright-report/ | |
| retention-days: 7 | |
| - name: Upload traces | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: cloud-e2e-traces-${{ matrix.shardIndex }} | |
| path: frontend/test-results/ | |
| retention-days: 7 | |