Skip to content

feat: major update to main #403

feat: major update to main

feat: major update to main #403

Workflow file for this run

name: Build & Test
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
concurrency:
group: build-test-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test-and-build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run lint
run: bun run check
- name: Run tests
run: bun run test:run
- name: Build application
env:
NEXT_TELEMETRY_DISABLED: "1"
run: bun run build
- name: Test build artifacts
run: |
if [ ! -d ".next" ]; then
echo "Build failed: .next directory not found"
exit 1
fi
echo "Build successful"