image: node:10 cache: paths: - build - node_modules - .cache - src/schema-config.json stages: - build - lint - test - deploy build: stage: build tags: - docker script: - ci/build.sh lint: stage: lint tags: - docker script: - ci/lint.sh test: stage: test tags: - docker script: # workaround DNS problem in my CI environment - echo "nameserver 9.9.9.9" > "/etc/resolv.conf" - ci/test.sh # deploy: # stage: deploy # tags: # - docker # script: # - ci/deploy.sh # only: # - tags