branches:
  only:
    - master

only_commits:
  message: /chore\(release\):/

image: macos

environment:
  nodejs_version: "12"

install:
  - npm install -g yarn
  - yarn install --frozen-lockfile
  - yarn prebuild:upload

test_script:
  - rm -rf ./*
  - git reset --hard
  - yarn install --frozen-lockfile
  - yarn test
