autobaan/.woodpecker/test-and-deploy.yaml

14 lines
226 B
YAML
Raw Permalink Normal View History

when:
- event: push
- event: manual
steps:
- name: test-and-deploy
image: docker.io/node:hydrogen
volumes:
- /etc/ssh:/etc/ssh
commands:
- npm ci
- npm run test:unit
- npm run deploy