mirror of
https://github.com/renee-png/acmcc.git
synced 2026-06-21 01:40:01 +00:00
d42baaecf9
The webpack.yml workflow ran `npx webpack` on a Vite project (no webpack present), failing on every push/PR. static.yml uploaded the raw repo root to GitHub Pages (not a real build; the app deploys via Vercel/Lovable) and also failed. Replace both with a CI workflow that installs via bun (bun.lockb is the maintained lockfile; package-lock.json is stale) and runs the Vite build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
26 lines
404 B
YAML
26 lines
404 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
pull_request:
|
|
branches: ["main"]
|
|
|
|
jobs:
|
|
build:
|
|
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 --frozen-lockfile
|
|
|
|
- name: Build
|
|
run: bun run build
|