File tree 2 files changed +12
-7
lines changed
2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -27,20 +27,21 @@ jobs:
27
27
with :
28
28
fetch-depth : 0
29
29
persist-credentials : false
30
- submodules : true
31
30
ref : next
32
31
33
32
- name : Setup Node.js
34
33
uses : actions/setup-node@v3
35
34
with :
36
35
node-version : 16
37
- registry-url : https://npm.pkg.github.com/
38
- scope : " @swagger-api"
36
+
37
+ - name : Prepare SwaggerUI dist
38
+ run : |
39
+ cd ../../../
40
+ npm ci
41
+ npm run build
39
42
40
43
- name : Install dependencies (to create package manifest)
41
44
run : npm ci
42
- env :
43
- NODE_AUTH_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
44
45
45
46
- name : MKDIR `dist` working directory
46
47
run : mkdir -p ../dist
73
74
run : |
74
75
cd ../dist
75
76
pwd
76
- npm publish .
77
+ npm pack . --tag alpha
77
78
env :
78
- NODE_AUTH_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
79
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 43
43
- name : Install dependencies
44
44
run : npm ci
45
45
46
+ - name : Prepare release
47
+ run : |
48
+ npm run build
49
+
46
50
- name : Semantic Release
47
51
id : semantic
48
52
uses : cycjimmy/semantic-release-action@v3
You can’t perform that action at this time.
0 commit comments