language: node_js
cache: yarn
node_js:
  - node
  - "12"
  - "10"
matrix:
  include:
    os: windows
    cache: false
    node_js: node
    script: npx jest
    env:
      - YARN_GPG=no
deploy:
  provider: pages
  skip-cleanup: true
  github-token: $GITHUB_TOKEN
  local-dir: api
  on:
    branch: ose

language: node_js
cache: yarn
node_js:
  - node
  - "12"
  - "10"
matrix:
  include:
    os: windows
    cache: false
    node_js: node
    script: npx jest
    env:
      - YARN_GPG=no
deploy:
  provider: pages
  skip-cleanup: true
  github-token: $GITHUB_TOKEN
  local-dir: api
  on:
    branch: master

Deploy API only from master
Deploy API only from master
