Skip to content

feat(project): Add comprehensive project documentation, planning, and… #7

feat(project): Add comprehensive project documentation, planning, and…

feat(project): Add comprehensive project documentation, planning, and… #7

Workflow file for this run

name: CI
on:
push:
branches: [main, lars/lets-rock]
pull_request:
branches: [main, lars/lets-rock]
jobs:
build-and-test:
name: Build, Test, and Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Build Alloy-JS components
run: bun run build
env:
CI: true
- name: Run test suite
run: bun run test:typespec
env:
CI: true
- name: Run ESLint
run: bun run lint
env:
CI: true
- name: TypeScript type checking
run: bun run build:check
env:
CI: true
- name: Format check
run: bun run format --check
continue-on-error: true
env:
CI: true
- name: Archive build artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
retention-days: 7