File tree 5 files changed +6195
-6158
lines changed
5 files changed +6195
-6158
lines changed Original file line number Diff line number Diff line change 1
- name : Create Release
2
-
3
- on :
4
- release :
5
- types : [published]
6
-
7
- jobs :
8
- publish-npm :
9
- runs-on : ubuntu-latest
10
- steps :
11
- - uses : actions/checkout@v2
12
- - uses : actions/setup-node@v2
13
- with :
14
- node-version : 14
15
- registry-url : https://registry.npmjs.org/
16
- - run : npm publish
17
- env :
18
- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
19
-
20
- - name : Package JSON Info
21
- uses :
myrotvorets/[email protected]
22
- id : pkgjson
23
-
24
- - name : Generate docs
25
- run : |
26
- node sdkdo docs
27
- zip -r docs.zip docs/ ${{ steps.pkgjson.outputs.packageVersion }}
28
-
29
- - name : Upload Artifact
30
- uses : actions/upload-artifact@v3
31
- with :
32
- name : apidocs
33
- path : docs.zip
1
+ name : Create Release
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ publish-npm :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - uses : actions/setup-node@v2
13
+ with :
14
+ node-version : 14
15
+ registry-url : https://registry.npmjs.org/
16
+ - run : npm publish
17
+ env :
18
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
19
+
20
+ - name : Package JSON Info
21
+ uses :
myrotvorets/[email protected]
22
+ id : pkgjson
23
+
24
+ - name : Generate docs
25
+ run : |
26
+ node sdkdo docs
27
+ zip -r docs.zip docs- ${{ steps.pkgjson.outputs.packageVersion }}
28
+
29
+ - name : Upload Artifact
30
+ uses : actions/upload-artifact@v3
31
+ with :
32
+ name : apidocs
33
+ path : docs.zip
You can’t perform that action at this time.
0 commit comments