Skip to content

feat(S63): add source field to defineContract for cross-file upward d… #181

feat(S63): add source field to defineContract for cross-file upward d…

feat(S63): add source field to defineContract for cross-file upward d… #181

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.11
- run: bun install
- run: bun test
build:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.11
- run: bun install
- run: bun run build
- name: Smoke test compiled CLI
run: bun packages/cli/dist/bin/ferret.js --version
- name: Performance gate
run: |
mkdir -p /tmp/ferret-gate
cd /tmp/ferret-gate
bun $GITHUB_WORKSPACE/packages/cli/dist/bin/ferret.js init --no-hook
time bun $GITHUB_WORKSPACE/packages/cli/dist/bin/ferret.js lint
- name: S34 smoke harness (clean)
run: bun run smoke:s34
- name: S34 smoke harness (intentional drift seed)
run: bun run smoke:s34:drift