image: node:12 cache: key: ${CI_COMMIT_SHA}_node_modules untracked: true paths: - node_modules/ policy: pull-push stages: - prepare - build - deploy install_dependencies: stage: prepare script: - yarn install build_code: stage: build environment: $CI_COMMIT_BRANCH script: - yarn run build