We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b9e7cfc + 9f5c24b commit 8282f4bCopy full SHA for 8282f4b
circle.yml
@@ -0,0 +1,29 @@
1
+machine:
2
+ node:
3
+ version: 6.9.2
4
+ environment:
5
+ YARN_VERSION: 0.19.1
6
+ PATH: "${PATH}:${HOME}/.yarn/bin:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
7
+
8
+dependencies:
9
+ pre:
10
+ - |
11
+ if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then
12
+ echo "Download and install Yarn."
13
+ curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION
14
+ else
15
+ echo "The correct version of Yarn is already installed."
16
+ fi
17
+ override:
18
+ - yarn install
19
+ cache_directories:
20
+ - ~/.yarn
21
+ - ~/.cache/yarn
22
23
+test:
24
25
+ - yarn test
26
27
+general:
28
+ artifacts:
29
+ - "./coverage"
0 commit comments