image: node:latest stages: - Build - Test cache: key: ${CI_COMMIT_REF_SLUG} paths: - .npm/ before_script: - npm ci --cache .npm --prefer-offline Build: stage: Build script: - npm run build Lint: stage: Test script: - npm run lint # Test: # stage: Test # script: # - npm test