actions-test/.woodpecker/.test.yml

29 lines
No EOL
560 B
YAML

# .woodpecker.yml
#platform: linux/arm64
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