Skip to content

Add evergreen agentic workflow for automated PR health maintenance #38

Add evergreen agentic workflow for automated PR health maintenance

Add evergreen agentic workflow for automated PR health maintenance #38

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/