image: node:8 stages: - lint - deploy cache: key: ${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHA} paths: - node_modules/ before_script: - npm install lint: stage: lint script: - npm run lint pages: stage: deploy script: - mv . public artifacts: paths: - public only: - master