Skip to content

refactor(build): consolidate bun-native web and backend workflows #1182

refactor(build): consolidate bun-native web and backend workflows

refactor(build): consolidate bun-native web and backend workflows #1182

Workflow file for this run

name: Test
on:
pull_request:
branches:
- main
permissions:
contents: read
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: 24
- name: Install Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.11
- name: Cache Bun dependencies
uses: actions/cache@v5
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Install Playwright browsers
run: bunx playwright install --with-deps chromium
- name: Run e2e tests
env:
TZ: Etc/UTC
COMPASS_PUBLIC_GOOGLE_CLIENT_ID: test-client-id
COMPASS_PUBLIC_API_BASEURL: http://localhost:3000/api
run: bun run test:e2e