File tree Expand file tree Collapse file tree 3 files changed +46
-0
lines changed Expand file tree Collapse file tree 3 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ branches :
5+ - master
6+ - " releasetest/**"
7+ jobs :
8+ release :
9+ if : " !contains(github.event.head_commit.message, 'skip ci')"
10+ name : Release
11+ runs-on : ubuntu-18.04
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v1
15+ - name : Setup Node.js
16+ uses : actions/setup-node@v1
17+ with :
18+ node-version : 12
19+ - name : Install dependencies
20+ run : npm install
21+ - name : Release
22+ env :
23+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
24+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
25+ run : npx semantic-release
Original file line number Diff line number Diff line change 11{
22 "name" : " react-time-series" ,
33 "version" : " 0.1.0" ,
4+ "repository" : {
5+ "type" : " git" ,
6+ "url" : " https://github.com/UniversalDataTool/react-time-series.git"
7+ },
48 "dependencies" : {
59 "@material-ui/core" : " ^4.11.0" ,
610 "@material-ui/icons" : " ^4.9.1" ,
Original file line number Diff line number Diff line change 1+ module . exports = {
2+ branch : "master" ,
3+ plugins : [
4+ "@semantic-release/commit-analyzer" ,
5+ "@semantic-release/release-notes-generator" ,
6+ [ "@semantic-release/npm" , { npmPublish : true } ] ,
7+ "@semantic-release/github" ,
8+ [
9+ "@semantic-release/git" ,
10+ {
11+ assets : [ "package.json" ] ,
12+ message :
13+ "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" ,
14+ } ,
15+ ] ,
16+ ] ,
17+ }
You can’t perform that action at this time.
0 commit comments