-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcircle.yml
More file actions
30 lines (27 loc) · 693 Bytes
/
Copy pathcircle.yml
File metadata and controls
30 lines (27 loc) · 693 Bytes
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
machine:
environment:
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
# disable create-react-app watching mode of testing
CI: "true"
node:
version: 8.2.0
dependencies:
pre:
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
# - echo -e "$NPM_USER\n$NPM_PASS\n$NPM_EMAIL" | npm login
override:
- yarn
- yarn lerna:install
cache_directories:
- ~/.cache/yarn
test:
override:
- yarn test
deployment:
production:
branch: master
commands:
- git config --global user.email $GITHUB_EMAIL
- git config --global user.name $GITHUB_USER
# because yarn has troll
- npm run publish-all