ci: woodpecker
All checks were successful
ci/woodpecker/manual/workflow Pipeline was successful

This commit is contained in:
adamas 2025-05-10 13:48:28 +02:00
parent 58d74e76bb
commit c9b071cd8d

28
.woodpecker/workflow.yaml Normal file
View File

@ -0,0 +1,28 @@
when:
- event: push
branch: main
- event: manual
steps:
- name: test
image: node:20-slim
commands:
- npm ci
- npm run test
- name: build
image: node:20-slim
commands:
- npm run build
- name: publish
image: woodpeckerci/plugin-docker-buildx:5.2.2
settings:
username: adamas
registry: https://forge.adm.ink
password:
from_secret: DOCKER_PASSWORD
repo: forge.adm.ink/adamas/curriculum
purge: true
compress: true
tags: ${CI_COMMIT_TAG}