forked from desktop/desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
48 lines (41 loc) · 968 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
experimental:
notify:
branches:
only:
- master
- /^__release-.*/
machine:
xcode:
version: 7.3
dependencies:
cache_directories:
- ".eslintcache"
- "node_modules"
- "~/.electron"
- "~/Library/Caches/Yarn/v1"
pre:
- brew update
# uninstall Node 6 which is shipped by default on Circle
- brew uninstall node
# install latest Node LTS (8.9.3 as of writing)
- brew install node@8 --force
# everything is terrible, but we must march on
- brew link --overwrite node@8 --force
# workaround for yarn installation issue
- curl -o- -L https://yarnpkg.com/install.sh | TERM=xterm bash -s -- --version 1.5.1
override:
- yarn install --force
compile:
override:
- yarn lint
- yarn validate-changelog
- yarn build:prod
test:
override:
- yarn test:setup
- yarn test
deployment:
production:
branch: /^__release-.*/
commands:
- yarn run publish