Skip to content

Commit 4d111d7

Browse files
committed
update circle config to 2.1
1 parent 92453d5 commit 4d111d7

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

circle.yml

+18-9
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1-
machine:
2-
node:
3-
# need Node 8 for latest semantic release
4-
version: 8
5-
test:
6-
override:
7-
- npm test
8-
post:
9-
- npm run semantic-release || true
1+
version: 2.1
2+
jobs:
3+
tests:
4+
docker:
5+
- image: circleci/node:8
6+
steps:
7+
- checkout
8+
- run: npm ci
9+
- run: npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN
10+
- run: npm whoami
11+
- run: npm test
12+
- run: npm run semantic-release || true
13+
14+
workflows:
15+
version: 2
16+
build:
17+
jobs:
18+
- tests

0 commit comments

Comments
 (0)