image: node:alpine cache: paths: - node_modules/ - .yarn before_script: - apt-get update -qq && apt-get install # stages order. stages: - build Build: stage: build before_script: - yarn config set cache-folder .yarn - yarn install script: - yarn eleventy