Skip to content

fix: register atma font bundle in tsdown build entries (#69) #230

fix: register atma font bundle in tsdown build entries (#69)

fix: register atma font bundle in tsdown build entries (#69) #230

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
format:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
- run: bun i --frozen-lockfile
- run: bunx biome check
checks:
needs: format
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
- run: bun i --frozen-lockfile
- run: bun check
# Build the renderer's dist/ first: the next example resolves `tegaki`
# to its published entry points (./dist/*), so typecheck needs them.
- run: bun --filter tegaki build
- run: bun typecheck
- run: bun run test
e2e:
needs: checks
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.61.1-noble
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- run: apt-get update && apt-get install -y unzip curl
- uses: oven-sh/setup-bun@v2
- run: bun i --frozen-lockfile
- name: Run Playwright
working-directory: packages/website
run: bun test:e2e
- name: Upload Playwright report
if: failure()
uses: actions/upload-artifact@v7
with:
name: playwright-report
path: packages/website/playwright-report/
retention-days: 14
examples:
needs: checks
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.61.1-noble
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- run: apt-get update && apt-get install -y unzip curl
- uses: oven-sh/setup-bun@v2
- run: bun i --frozen-lockfile
# Build the renderer's dist/ (next/nuxt/remotion resolve to it) and the
# web examples, then smoke-test that each actually renders handwriting.
- name: Build examples
run: bun run build:examples
- name: Smoke-test web examples (vite, next, nuxt)
run: bun --filter @tegaki/example-e2e test
- name: Render-test Remotion still
run: bun --filter @tegaki/example-e2e remotion-still
- name: Upload Playwright report
if: failure()
uses: actions/upload-artifact@v7
with:
name: playwright-report-examples
path: e2e/examples/playwright-report/
retention-days: 14