Some enhancements to the pipeline... Liking woodpecker...

This commit is contained in:
2026-01-30 23:43:06 -03:00
parent 0c34d37110
commit 8d688291df
5 changed files with 122 additions and 95 deletions

View File

@@ -104,7 +104,7 @@ mifi-ventures-landing/
│ ├── devcontainer.json # Dev container config (extensions)
│ └── Dockerfile # Dev container image (Node)
├── .woodpecker/ # CI/CD pipelines (see below)
│ ├── pr.yaml # PR: lint, test, build (no deploy)
│ ├── lint-and-build.yaml # PR: lint, test, build (no deploy)
│ └── deploy.yaml # main: lint, test, build, Docker, push, webhook
├── Dockerfile # Production container (nginx:alpine)
├── nginx.conf # nginx web server configuration
@@ -140,7 +140,7 @@ mifi-ventures-landing/
### Pipeline Overview
Woodpecker uses two workflows (`.woodpecker/pr.yaml` and `.woodpecker/deploy.yaml`):
Woodpecker uses two workflows (`.woodpecker/lint-and-build.yaml` and `.woodpecker/deploy.yaml`):
- **Pull requests**: Opening or updating a PR runs **lint** (ESLint + Stylelint), **tests** (Vitest), and a **test build** (SvelteKit + Critters) on the branch. No Docker image or deploy.
- **Push to main** (or tag / manual run): Runs the same lint, test, and build, then: