cache: paths: - node_modules/ stages: - build - deploy build: stage: build image: node:12 script: - npm install - npm run start artifacts: paths: - index.js expire_in: 1 week deploy_prod: stage: deploy script: - echo "Deploying to production!" environment: name: prod url: https://spluseins.de