File tree 1 file changed +1
-8
lines changed
1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,12 @@ jobs:
15
15
with :
16
16
fetch-depth : 0
17
17
persist-credentials : false
18
- submodules : true
19
18
ref : next
20
19
21
20
- name : Setup Node.js
22
21
uses : actions/setup-node@v3
23
22
with :
24
23
node-version : 16
25
- registry-url : https://npm.pkg.github.com/
26
- scope : " @swagger-api"
27
24
28
25
- name : Determine the next release version
29
26
uses : cycjimmy/semantic-release-action@v3
35
32
env :
36
33
GITHUB_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
37
34
NPM_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
38
- NODE_AUTH_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
39
35
40
36
- name : Nothing to release
41
37
if : ${{ env.NEXT_RELEASE_VERSION == '' }}
46
42
47
43
- name : Install dependencies
48
44
run : npm ci
49
- env :
50
- NODE_AUTH_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
51
45
52
46
- name : Semantic Release
53
47
id : semantic
58
52
@semantic-release/git
59
53
env :
60
54
GITHUB_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
61
- NPM_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
62
- NODE_AUTH_TOKEN : ${{ secrets.SWAGGER_BOT_GITHUB_TOKEN }}
55
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
63
56
64
57
- name : Release failed
65
58
if : steps.semantic.outputs.new_release_published == 'false'
You can’t perform that action at this time.
0 commit comments