#This declares the pipeline stages stages: - build - test - deploy
cache: paths: - node_modules/ build: stage: build
tags: - general
script: - npm install - npm run-script build
test: stage: test script: - echo "Running react test suite......" deploy: stage: deploy script: - npm run-script deploy