π· Update CI workflow for faster e2e tests #451
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: | |
| push: | |
| pull_request: | |
| jobs: | |
| build: | |
| name: π¨ Build & Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: oven-sh/setup-bun@v2 | |
| - run: bun install | |
| - run: bun run build | |
| - run: bun x prettier --check . | |
| - run: bun x tsc --noEmit | |
| - run: bun test | |
| e2e-oob: | |
| name: π E2E OOB Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: oven-sh/setup-bun@v2 | |
| - run: bun ci | |
| - run: bun ci | |
| working-directory: example/oob | |
| - run: bun run start & | |
| working-directory: example/oob | |
| - run: bun test | |
| working-directory: example/oob | |
| env: | |
| PUPPETEER_EXECUTABLE_PATH: /usr/bin/chromium-browser |