File tree Expand file tree Collapse file tree 3 files changed +31
-291
lines changed Expand file tree Collapse file tree 3 files changed +31
-291
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,16 @@ jobs:
1515 - name : Checkout
1616 uses : actions/checkout@v3
1717 with :
18- persist-credentials : false
18+ persist-credentials : true
19+ fetch-depth : 0
20+ - name : Setup Git
21+ run : |
22+ git config user.name "github-actions[bot]"
23+ git config user.email "github-actions[bot]@users.noreply.github.com"
1924 - name : Lint & Test
2025 uses : ./.github/actions/build
2126 - name : Release
2227 run : npx semantic-release
2328 env :
2429 NPM_TOKEN : ${{secrets.npm_token}}
25- GH_TOKEN : ${{secrets.GH_TOKEN }}
30+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1414 "license" : " Apache-2.0" ,
1515 "devDependencies" : {
1616 "@semantic-release/exec" : " ^6.0.3" ,
17+ "@semantic-release/git" : " ^10.0.1" ,
1718 "@types/bootstrap" : " ^4.5.0" ,
1819 "@types/clevertap-web-sdk" : " ^1.1.13" ,
1920 "@types/jest" : " ^25.2.1" ,
7172 "url" : " https://github.com/Leanplum/Leanplum-JavaScript-SDK/issues"
7273 },
7374 "release" : {
74- "repositoryUrl" : " git@ github.com: Leanplum/Leanplum-JavaScript-SDK.git" ,
75+ "repositoryUrl" : " https:// github.com/ Leanplum/Leanplum-JavaScript-SDK.git" ,
7576 "tagFormat" : " ${version}" ,
7677 "branches" : [
7778 " master" ,
9192 }
9293 ],
9394 " @semantic-release/npm" ,
94- " @semantic-release/github" ,
95- [
96- " @qiwi/semrel-metabranch" ,
97- {
98- "publish" : {
99- "action" : " push" ,
100- "branch" : " gh-pages" ,
101- "from" : " ./dist/e2e" ,
102- "to" : " ./" ,
103- "message" : " Update test app to ${nextRelease.gitTag}"
104- }
105- }
106- ]
95+ " @semantic-release/github"
10796 ]
10897 },
10998 "homepage" : " https://github.com/Leanplum/Leanplum-JavaScript-SDK#readme" ,
11099 "dependencies" : {
111- "@qiwi/semrel-metabranch" : " ^3.1.2" ,
112100 "clevertap-web-sdk" : " 2.3.0"
113101 }
114102}
You can’t perform that action at this time.
0 commit comments