Skip to content

Commit 835e771

Browse files
committed
Tuning CircleCI config
1 parent 220b4f2 commit 835e771

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.circleci/config.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,17 @@ jobs:
1616
- run: npm test
1717
- run: npm build
1818
- persist_to_workspace:
19-
root: /root/project
20-
paths: .
19+
root: .
20+
paths:
21+
- dist
2122

2223
# NPM release
2324
release:
2425
docker:
2526
- image: circleci/node:8.11.1
2627
steps:
28+
- attach_workspace:
29+
at: dist
2730
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
2831
- run: npm publish
2932

@@ -34,6 +37,8 @@ workflows:
3437
- test
3538
- release:
3639
filters:
40+
branches:
41+
ignore: /.*/
3742
tags:
3843
only: /v[0-9]+(\.[0-9]+)*/
3944
requires:

0 commit comments

Comments
 (0)