Add homelab Gitea Actions CI (generic) #1

Merged
ilia merged 6 commits from ci/bootstrap-gitea-actions-node into main 2026-05-29 20:39:27 -05:00
Showing only changes of commit e14cfa6392 - Show all commits

View File

@ -1,5 +1,4 @@
---
# ci-sync: 2026-05-30T01:20:34Z
# Homelab CI — Node/pages lane (git-ci-01) + secret scan (git-ci-02)
name: CI
@ -41,6 +40,15 @@ jobs:
run: |
if [ -f package-lock.json ]; then npm ci; elif [ -f package.json ]; then npm install; else exit 0; fi
- name: Playwright browsers
run: |
if [ -f playwright.config.ts ] || [ -f playwright.config.js ] || [ -f playwright.config.mjs ] \
|| grep -q '@playwright/test' package.json 2>/dev/null; then
npx playwright install --with-deps chromium
else
echo "No Playwright — skip browser install"
fi
- name: Lint
run: npm run lint --if-present