Skip to content

Commit c8c6323

Browse files
committed
fix(circle): upgrade to version 2.0
This is a `fix` to test the semantic release.
1 parent c834134 commit c8c6323

File tree

2 files changed

+31
-19
lines changed

2 files changed

+31
-19
lines changed

.circleci/config.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)