Skip to content

feat: add CI workflow #1

feat: add CI workflow

feat: add CI workflow #1

Workflow file for this run

name: CI Smoke Checks
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
sayhello-build-run:
name: Sayhello Build and Run
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Set up uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
- name: Sync Python dependencies
run: uv sync
- name: Build sayhello pipeline
run: uv run ultrarag build examples/experiments/sayhello.yaml
- name: Run sayhello pipeline
run: uv run ultrarag run examples/experiments/sayhello.yaml
frontend-build:
name: Frontend Build
runs-on: ubuntu-latest
defaults:
run:
working-directory: ui/frontend
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "24"
cache: npm
cache-dependency-path: ui/frontend/package-lock.json
- name: Install frontend dependencies
run: npm ci
- name: Build frontend
run: npm run build