File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -34,20 +34,13 @@ jobs:
34
34
needs : [test]
35
35
name : Publish NPM Package
36
36
runs-on : ubuntu-latest
37
- env :
38
- GIT_AUTHOR_NAME : ' im-pipeline-bot'
39
- GIT_AUTHOR_EMAIL :
' [email protected] '
40
- GIT_COMMITTER_NAME : ' im-pipeline-bot'
41
- GIT_COMMITTER_EMAIL :
' [email protected] '
42
- GITHUB_TOKEN : ${{ secrets.PIPELINE_BOT_PAT }}
43
- GH_TOKEN : ${{ secrets.PIPELINE_BOT_PAT }}
44
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
45
37
steps :
46
38
- name : Checkout
47
39
uses : actions/checkout@v3
48
40
with :
49
41
token : ${{ secrets.PIPELINE_BOT_PAT }}
50
- depth : 0
42
+ fetch-depth : 0
43
+ persist-credentials : true
51
44
52
45
- name : Setup Node
53
46
uses : actions/setup-node@v3
59
52
run : npm ci
60
53
61
54
- name : Semantic Release
55
+ env :
56
+ GIT_AUTHOR_NAME : ' im-pipeline-bot'
57
+ GIT_AUTHOR_EMAIL :
' [email protected] '
58
+ GIT_COMMITTER_NAME : ' im-pipeline-bot'
59
+ GIT_COMMITTER_EMAIL :
' [email protected] '
60
+ GITHUB_TOKEN : ${{ secrets.PIPELINE_BOT_PAT }}
61
+ GH_TOKEN : ${{ secrets.PIPELINE_BOT_PAT }}
62
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
62
63
run : npx semantic-release
You can’t perform that action at this time.
0 commit comments