Skip to content

Merge origin/main and resolve conflicts #115

Merge origin/main and resolve conflicts

Merge origin/main and resolve conflicts #115

Workflow file for this run

name: CI
on:
push:
branches:
- main
- "autoloop/**"
pull_request:
branches:
- main
permissions:
contents: read
jobs:
test:
name: Test & Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Type check
run: bun run typecheck
- name: Lint
run: bun run lint
- name: Test
run: bun test --coverage
build:
name: Build
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Build library
run: bun build ./src/index.ts --outdir ./dist --target browser --minify
- name: Upload dist artifact
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
validate-python-examples:
name: Validate Python Examples
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Python dependencies
run: pip install pandas numpy
- name: Validate Python playground examples
run: python scripts/validate-python-examples.py playground/