actions-test/.woodpecker/.test.yml

29 lines
560 B
YAML
Raw Normal View History

2023-03-26 11:56:46 +02:00
# .woodpecker.yml
2023-03-28 19:23:03 +02:00
#platform: linux/arm64
2023-03-26 11:56:46 +02:00
pipeline:
build:
image: node:18-alpine
commands:
- apk add git
- npm ci
- mkdir build
- npm run prepublish
- npm run bundleRelease
test:
image: node:18-alpine
commands:
- apk add openssl
- sh genSelfSignedCert.sh
- node tests/ws.js ci
- node tests/post.js ci
services:
database:
image: mariadb
environment:
- MYSQL_DATABASE=outbag
- MYSQL_USER=outbag
- MYSQL_PASSWORD=12345678
- MYSQL_ROOT_PASSWORD=12345678