Files
WebDrop/.woodpecker/ci.yml
T
justme 8d8d4fd5b7
ci/woodpecker/manual/ci Pipeline was canceled
ci: clone repository from public Git URL
2026-10-02 11:01:16 +08:00

45 lines
961 B
YAML

when:
- event: [push, pull_request, manual]
clone:
git:
image: woodpeckerci/plugin-git:2.9.3
settings:
remote: https://git.oeo.one/justme/WebDrop.git
steps:
api-contract:
image: node:24.21.0-alpine3.23
commands:
- node scripts/check-api-contract.mjs
core-and-web:
image: node:24.21.0-alpine3.23
directory: packages/core
commands:
- npm ci
- npm run typecheck
- npm test
- npm run vectors:check
- npm run build
web:
image: node:24.21.0-alpine3.23
directory: web
commands:
- npm ci
- npm run typecheck
- npm run lint:css
- npm test
- npm run build
server:
image: mcr.microsoft.com/dotnet/sdk:10.0
commands:
- dotnet test server/WebDrop.slnx --configuration Release --verbosity minimal
compose-config:
image: docker:29.8.1-cli-alpine3.24
commands:
- docker compose --env-file .env.example config --quiet