File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
- name : Doc generation test
1
+ name : Create Release
2
2
3
- on : [push]
3
+ on :
4
+ release :
5
+ types : [published]
4
6
5
7
jobs :
6
8
publish-npm :
@@ -10,10 +12,10 @@ jobs:
10
12
- uses : actions/setup-node@v2
11
13
with :
12
14
node-version : 14
13
- # registry-url: https://registry.npmjs.org/
14
- # - run: npm publish
15
- # env:
16
- # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
15
+ registry-url : https://registry.npmjs.org/
16
+ - run : npm publish
17
+ env :
18
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
17
19
18
20
- name : Package JSON Info
19
21
uses : myrotvorets/info-from-package-json-action@1.1.0
25
27
- name : Upload Artifact
26
28
uses : actions/upload-artifact@v3
27
29
with :
28
- name : JS_SDK_docs
30
+ name : js_sdk_docs
29
31
path : docs-${{ steps.pkgjson.outputs.packageVersion }}/
You can’t perform that action at this time.
0 commit comments