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.
1 parent c834134 commit c8c6323Copy full SHA for c8c6323
.circleci/config.yml
@@ -0,0 +1,31 @@
1
+version: 2
2
+jobs:
3
+ build:
4
+ docker:
5
+ - image: circleci/node:8
6
+
7
+ steps:
8
+ - checkout
9
10
+ - restore_cache:
11
+ keys:
12
+ - v1-dependencies-{{ checksum "yarn.lock" }}
13
+ - v1-dependencies-
14
15
+ - run:
16
+ name: Configuring NPM registry
17
+ command: |
18
+ [[ -z "$NPM_TOKEN" ]] && echo "NPM_TOKEN not set" && exit 1
19
+ echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
20
+ yarn config set registry http://registry.npmjs.org/
21
22
+ - run: yarn install
23
24
+ - save_cache:
25
+ paths:
26
+ - node_modules
27
+ key: v1-dependencies-{{ checksum "yarn.lock" }}
28
29
+ - run: yarn test --ci
30
31
+ - run: yarn run semantic-release || true
circle.yml
0 commit comments