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.
2 parents 220b4f2 + 835e771 commit 6dc29fbCopy full SHA for 6dc29fb
.circleci/config.yml
@@ -14,16 +14,19 @@ jobs:
14
paths:
15
- node_modules
16
- run: npm test
17
- - run: npm build
+ - run: npm run 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