image: node:10 cache: key: ${CI_COMMIT_REF_SLUG} paths: - node_modules/ before_script: - node --version - yarn --version - yarn test: script: - yarn test pages: stage: deploy only: - schedules script: - yarn build artifacts: paths: - public only: - master