File tree Expand file tree Collapse file tree 3 files changed +80
-17
lines changed Expand file tree Collapse file tree 3 files changed +80
-17
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,16 @@ jobs:
33
33
- uses : actions/checkout@v2
34
34
with :
35
35
fetch-depth : 0
36
+ persist-credentials : false
36
37
- uses : volta-cli/action@v1
37
- - run : npm ci
38
+ - run : " npm ci --ignore-scripts "
38
39
- run : npm run release
39
40
env :
40
41
# https://github.com/semantic-release/github#github-authentication
41
42
GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
42
43
# https://docs.npmjs.com/creating-and-viewing-access-tokens
43
44
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
45
+ GIT_AUTHOR_NAME : ${{ secrets.GIT_AUTHOR_NAME }}
46
+ GIT_AUTHOR_EMAIL : ${{ secrets.GIT_AUTHOR_EMAIL }}
47
+ GIT_COMMITTER_NAME : ${{ secrets.GIT_AUTHOR_NAME }}
48
+ GIT_COMMITTER_EMAIL : ${{ secrets.GIT_AUTHOR_EMAIL }}
Original file line number Diff line number Diff line change 59
59
"singleQuote" : false ,
60
60
"trailingComma" : " all"
61
61
},
62
+ "release" : {
63
+ "branches" : [
64
+ " main" ,
65
+ {
66
+ "name" : " next" ,
67
+ "prerelease" : true
68
+ }
69
+ ],
70
+ "plugins" : [
71
+ " @semantic-release/commit-analyzer" ,
72
+ " @semantic-release/release-notes-generator" ,
73
+ " @semantic-release/github" ,
74
+ " @semantic-release/npm" ,
75
+ " @semantic-release/changelog" ,
76
+ " @semantic-release/git"
77
+ ]
78
+ },
62
79
"mocha" : {
63
80
"extension" : [
64
81
" ts"
100
117
"@nestjs/core" : " ~8.2.0" ,
101
118
"@nestjs/testing" : " ~8.2.0" ,
102
119
"@semantic-release/changelog" : " ~6.0.0" ,
120
+ "@semantic-release/git" : " ~10.0.1" ,
103
121
"@types/chai" : " ~4.2.22" ,
104
122
"@types/chai-as-promised" : " ~7.1.4" ,
105
123
"@types/mocha" : " ~9.0.0" ,
140
158
"knex" : " ^0.95.0" ,
141
159
"objection" : " ^3.0.0"
142
160
},
143
- "release" : {
144
- "branches" : [
145
- " main" ,
146
- {
147
- "name" : " next" ,
148
- "prerelease" : true
149
- }
150
- ],
151
- "plugins" : [
152
- " @semantic-release/commit-analyzer" ,
153
- " @semantic-release/release-notes-generator" ,
154
- " @semantic-release/github" ,
155
- " @semantic-release/npm" ,
156
- " @semantic-release/changelog"
157
- ]
158
- },
159
161
"volta" : {
160
162
"node" : " 16.13.0" ,
161
163
"npm" : " 8.1.1"
You can’t perform that action at this time.
0 commit comments