Merge pull request 'feature/pipeline: add pipeline to project' (#2) from feature/pipeline into main
All checks were successful
ci/woodpecker/push/pipeline Pipeline was successful

Reviewed-on: #2
This commit is contained in:
rov 2025-10-26 21:42:02 -03:00
commit 6c8ed19be4

30
.woodpecker/pipeline.yaml Normal file
View File

@ -0,0 +1,30 @@
# .woodpecker.yml
# Run pipeline on pushes to main and pull requests
when:
event: [push, pull_request]
branch: [main, develop, feat/*, feature/*]
# Define environment variables
environment:
NODE_ENV: production
# Pipeline steps
steps:
# Install dependencies
- name: install
image: node:18-alpine
commands:
- echo "🔧 Installing dependencies..."
- npm ci --silent
when:
event: [push, pull_request]
# Build application
- name: build
image: node:18-alpine
commands:
- echo "🏗️ Building application..."
- npm run build
when:
event: [push, pull_request]