stages: - install install_dependencies: stage: install image: node:15-alpine3.10 tags: - docker script: - npm install cache: key: files: - package-lock.json paths: - node_modules policy: pull only: refs: - merge_requests - master changes: - package-lock.json