language: node_js node_js: - '10' - '12' branches: only: - master cache: yarn: true directories: - node_modules before_install: - curl -o- -L https://yarnpkg.com/install.sh | bash -s - export PATH="$HOME/.yarn/bin:$PATH" script: - yarn lint - yarn build - yarn test jobs: include: - stage: release node_js: lts/* script: skip # do not run tests again deploy: provider: script skip_cleanup: true script: - yarn web-scripts release