Files
writer/.gitlab-ci.yml
2019-01-01 19:05:21 +03:00

24 lines
330 B
YAML

image: node:10
stages:
- test-backend
variables:
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
MYSQL_DATABASE: writer_test
MYSQL_USER: writer
MYSQL_PASSWORD: writer
cache:
paths:
- node_modules/
- frontend/node_modules
test-backend:
stage: test-backend
services:
- mariadb:10
script:
- npm i
- npm test