mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
35 lines
613 B
YAML
35 lines
613 B
YAML
machine:
|
|
xcode:
|
|
version: 8.2
|
|
pre:
|
|
- mkdir ~/.yarn-cache
|
|
|
|
dependencies:
|
|
pre:
|
|
- npm install -g yarn
|
|
- yarn config set cache-folder ~/.yarn-cache
|
|
cache_directories:
|
|
- ~/.yarn-cache
|
|
override:
|
|
- yarn
|
|
|
|
checkout:
|
|
post:
|
|
- if [[ "$CIRCLE_BRANCH" == "canary" ]]; then cp build/canary.icns build/icon.icns; fi
|
|
|
|
test:
|
|
override:
|
|
- yarn test
|
|
|
|
deployment:
|
|
artifacts:
|
|
branch: /^(?!master$).*$/
|
|
owner: zeit
|
|
commands:
|
|
- yarn run dist -- -p 'never'
|
|
- cp dist/*.zip $CIRCLE_ARTIFACTS
|
|
release:
|
|
tag: /.*/
|
|
owner: zeit
|
|
commands:
|
|
- yarn run dist
|