language: node_js

node_js:
  - 12
  - 10

jobs:
  include:
    - stage: release
      node_js: lts/*
      deploy:
        provider: script
        skip_cleanup: true
        script:
          - npm run semantic-release

branches:
  only:
    - master
    - /^greenkeeper/.*$/
