46 lines
803 B
YAML
46 lines
803 B
YAML
when:
|
|
- event: [push, manual]
|
|
|
|
labels:
|
|
ci: domain-linux-native
|
|
platform: linux/amd64
|
|
|
|
clone:
|
|
- name: git
|
|
image: woodpeckerci/plugin-git:2.9.3
|
|
settings:
|
|
remote:
|
|
from_secret: gitea_clone_webdrop
|
|
lfs: false
|
|
|
|
steps:
|
|
api-contract:
|
|
image: bash
|
|
commands:
|
|
- node scripts/check-api-contract.mjs
|
|
|
|
core-and-web:
|
|
image: bash
|
|
commands:
|
|
- cd packages/core
|
|
- npm ci
|
|
- npm run typecheck
|
|
- npm test
|
|
- npm run vectors:check
|
|
- npm run build
|
|
|
|
web:
|
|
image: bash
|
|
commands:
|
|
- cd web
|
|
- npm ci
|
|
- npm run typecheck
|
|
- npm run lint:css
|
|
- npm test
|
|
- npm run build
|
|
|
|
server:
|
|
image: bash
|
|
commands:
|
|
- dotnet test server/WebDrop.slnx --configuration Release --verbosity minimal
|