- Runs on: Push to master & PRs to master
- Steps:
- Checkout code
- Setup Node.js 20
- Install dependencies (npm install --legacy-peer-deps)
- Build frontend (CI=false GENERATE_SOURCEMAP=false npm run build)
- Upload build artifacts (7 days retention)
- Deploy to GitHub Pages
- Runs on: Push to master (docs/ changes)
- Steps:
- Checkout code
- Configure Pages
- Upload docs/ as artifact
- Deploy to GitHub Pages
- Runs on: Pull requests to master
- Steps:
- Validate repo structure
- Build and test
- Verify build output
To see workflow logs:
- Go to GitHub repo
- Click "Actions" tab
- Select workflow
- Click latest run
- View detailed logs
- Check Node.js version (need 20)
- Check npm install works locally
- Check environment variables
- Check docs/ directory exists
- Check GitHub Pages settings enabled
- Check workflow permissions