diff --git a/.github/workflows/README.md b/.github/workflows/README.md new file mode 100644 index 0000000..17d6eb5 --- /dev/null +++ b/.github/workflows/README.md @@ -0,0 +1,7 @@ +# GitHub Actions + +This repository **does not deploy to Vercel**. + +Any historical Vercel / v0 auto-deploy workflows have been removed. Production runs on a **self-hosted DreamHost VPS** (Node + MySQL + nginx). See [README.md](../../README.md#production-deployment-dreamhost-vps-or-similar). + +The only workflow here is optional CI (`ci.yml`) — lint and MySQL client checks only, no deploy step. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c520eaa --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +# Self-hosted VPS app — CI only (no Vercel deploy). +name: CI + +on: + push: + branches: [main, Cursor] + pull_request: + branches: [main, Cursor] + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + with: + version: 9 + - uses: actions/setup-node@v4 + with: + node-version: "20" + cache: "pnpm" + - run: pnpm install --frozen-lockfile + - run: pnpm check:mysql + - run: pnpm lint