ci: sync workflow template
All checks were successful
CI / skip-ci-check (pull_request) Successful in 10s
CI / secret-scan (pull_request) Successful in 9s
CI / node-ci (pull_request) Successful in 31s

This commit is contained in:
ilia 2026-05-29 20:25:57 -05:00
parent 6d212634eb
commit e14cfa6392

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) # Homelab CI — Node/pages lane (git-ci-01) + secret scan (git-ci-02)
name: CI name: CI
@ -41,6 +40,15 @@ jobs:
run: | run: |
if [ -f package-lock.json ]; then npm ci; elif [ -f package.json ]; then npm install; else exit 0; fi 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 - name: Lint
run: npm run lint --if-present run: npm run lint --if-present