Skip to content
Snippets Groups Projects
Commit cdcb10ba authored by Falk's avatar Falk :ping_pong:
Browse files

Initial setup of Gitlab CI

parent 57bb7e3c
No related branches found
No related tags found
No related merge requests found
image: node:12.16.3
# Info: http://docs.gitlab.com/ee/ci/docker/using_docker_images.html#what-is-a-service
services:
- mongodb:4.2.6
variables:
MONGODB_URL: 'mongodb://localhost:27017/test'
JWT_SECRET: 'test'
# http://docs.gitlab.com/ee/ci/yaml/README.html#cache
cache:
paths:
- node_modules/
test_client:
script:
- cd app/client
- npm install
- npm run jest
test_server:
script:
- cd app/server
- node ./scripts/build.js
- npm run test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment