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 220b4f2 commit 835e771Copy full SHA for 835e771
.circleci/config.yml
@@ -16,14 +16,17 @@ jobs:
16
- run: npm test
17
- run: npm build
18
- persist_to_workspace:
19
- root: /root/project
20
- paths: .
+ root: .
+ paths:
21
+ - dist
22
23
# NPM release
24
release:
25
docker:
26
- image: circleci/node:8.11.1
27
steps:
28
+ - attach_workspace:
29
+ at: dist
30
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
31
- run: npm publish
32
@@ -34,6 +37,8 @@ workflows:
34
37
- test
35
38
- release:
36
39
filters:
40
+ branches:
41
+ ignore: /.*/
42
tags:
43
only: /v[0-9]+(\.[0-9]+)*/
44
requires:
0 commit comments