Skip to content

Commit 6dc29fb

Browse files
committed
Merge branch 'ci/cd'
2 parents 220b4f2 + 835e771 commit 6dc29fb

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.circleci/config.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,19 @@ jobs:
1414
paths:
1515
- node_modules
1616
- run: npm test
17-
- run: npm build
17+
- run: npm run 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy