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 20d65fd commit 3122efcCopy full SHA for 3122efc
.circleci/config.yml
@@ -23,3 +23,31 @@ jobs:
23
- codecov/upload:
24
file: coverage/*.json
25
flags: frontend
26
+ - persist_to_workspace:
27
+ root: ~/react-forms
28
+ paths:
29
+ - "*"
30
+ deploy:
31
+ working_directory: ~/react-forms
32
+ docker:
33
+ - image: circleci/node
34
+ steps:
35
+ - attach_workspace:
36
+ at: ~/react-forms
37
+ - run:
38
+ name: Authenticate with registry
39
+ command: |
40
+ npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN
41
+ yarn release
42
+
43
+workflows:
44
+ version: 2
45
+ build_and_deploy:
46
+ jobs:
47
+ - build
48
+ - deploy:
49
+ requires:
50
51
+ filters:
52
+ branches:
53
+ only: master
0 commit comments