Skip to content

chore: add jsr badge #6

chore: add jsr badge

chore: add jsr badge #6

Workflow file for this run

name: πŸš€ CI
on:
workflow_dispatch:
push:
merge_group:
pull_request:
paths-ignore:
- ".vscode/**"
- "**/*.md"
- ".github/ISSUE_TEMPLATE/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
TURBO_REMOTE_ONLY: true
jobs:
lint:
name: ⬣ Lint
runs-on: ubuntu-22.04
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: πŸ›  Setup Biome CLI
uses: biomejs/setup-biome@v2
- name: πŸ”¬ Run Biome
run: biome ci .
typecheck:
name: Κ¦ Typecheck
runs-on: ubuntu-22.04
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: πŸ“€ Install Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: πŸ“€ Install dependencies
run: bun install
- name: πŸ”Ž Typecheck
run: bun typecheck
test:
name: "πŸ§ͺ Test"
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [20, 22]
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: πŸ“€ Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: πŸ“€ Install Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: πŸ“€ Install dependencies
run: bun install
- name: πŸ›  Build Packages
run: bun run build
- name: πŸ§ͺ Run Tests
run: bun run test --continue --filter='!./examples/*'
playwright:
name: "πŸ§ͺ Playwright"
runs-on: ubuntu-22.04
timeout-minutes: 15
strategy:
matrix:
node-version: [20, 22]
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: πŸ“€ Install Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: πŸ“€ Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: πŸ“€ Install dependencies
run: bun install
- name: πŸ›  Build Packages
run: bun run build
- name: πŸ“€ Install Playwright browsers
run: bun playwright install --with-deps
working-directory: examples/playwright-sveltekit
- name: πŸ§ͺ Run Playwright tests
run: bun run test:e2e --continue -- --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report-${{ matrix.node-version }}
path: examples/*/tests/report/
retention-days: 30