Skip to content

Refactor resolveClipRelativePoint function for clarity and accuracy #113

Refactor resolveClipRelativePoint function for clarity and accuracy

Refactor resolveClipRelativePoint function for clarity and accuracy #113

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
- 'preview/**'
- 'staging/**'
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
env:
FIRECRAWL_API_KEY: ${{ secrets.FIRECRAWL_API_KEY }}
NEXT_TELEMETRY_DISABLED: 1
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.2.23
- name: Cache bun
uses: actions/cache@v4
with:
path: |
~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-
- name: Cache turbo
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ hashFiles('**/*', '!**/.git/**', '!**/*.tsbuildinfo') }}
restore-keys: |
${{ runner.os }}-turbo-
- run: bun install --frozen-lockfile
- name: Clean TypeScript build info
run: |
find . -name "*.tsbuildinfo" -delete || true
find . -name ".tsbuildinfo" -delete || true
- name: Lint
run: bun run lint
- name: Typecheck
run: bun run check-types
- name: Build web
run: |
cd apps/web
bun run build