Files
webdev-site/.github/workflows/ci.yml
hobokenchicken 7323a6f7a8
Some checks failed
CI & Lighthouse / test (push) Has been cancelled
docs: comprehensive documentation update
Update README with detailed project overview, features, installation, and usage. Add AGENTS.md developer guide, CONTRIBUTING.md guidelines, MIT LICENSE file, and fix CI workflow configuration.
2026-02-12 10:51:37 -05:00

34 lines
718 B
YAML

name: CI & Lighthouse
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build project
run: npm run build
- name: Run Lighthouse audit
uses: lighthouse-checker/action@v1
with:
urls: |
http://localhost:8080/
prComment: true
serverCommand: 'npm run preview -- --port 8080'
waitForServer: true