.gitlab-ci.yml 494 Bytes
Newer Older
canterafonsj's avatar
canterafonsj committed
1 2 3
# This file is a template, and might need editing before it works on your project.
# Official framework image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/node/tags/
4
image: node::13.7-alpine
canterafonsj's avatar
canterafonsj committed
5 6

# This folder is cached between builds
7
# http://docs.rep.com/ce/ci/yaml/README.html#cache
canterafonsj's avatar
canterafonsj committed
8 9 10 11
cache:
  paths:
  - node_modules/

12 13 14 15 16 17 18 19
before_script:
  - yarn

stages:
  - test

test:
  stage: test
canterafonsj's avatar
canterafonsj committed
20
  script:
21 22 23
   - echo "Running tests..."   
   - yarn test
  allow_failure: true
canterafonsj's avatar
canterafonsj committed
24