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 3db8e05 + 0de5f5a commit 9aaea95Copy full SHA for 9aaea95
.circleci/config.yml
@@ -13,8 +13,35 @@ jobs:
13
- run: sudo npm install -g serverless
14
- run: npm test
15
16
+ deployment:
17
+ executor: node/default
18
+ steps:
19
+ - checkout
20
+ - run:
21
+ name: Authenticate with registry
22
+ command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
23
+ - run: npm publish
24
+
25
workflows:
26
build-and-test-workflow:
27
jobs:
28
- build-and-test
29
30
+ deployment-workflow:
31
+ jobs:
32
33
+ - build-and-test:
34
+ filters:
35
+ tags:
36
+ only: /v[0-9]+(\.[0-9]+)*/
37
+ branches:
38
+ ignore: /.*/
39
40
+ - deployment:
41
+ requires:
42
+ - build-and-test
43
44
45
46
47
0 commit comments