File tree Expand file tree Collapse file tree 4 files changed +4220
-102
lines changed Expand file tree Collapse file tree 4 files changed +4220
-102
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ jobs :
7
+ release :
8
+ name : Release
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout
12
+ uses : actions/checkout@v2
13
+ with :
14
+ fetch-depth : 0
15
+ - name : Setup Node.js
16
+ uses : actions/setup-node@v1
17
+ with :
18
+ node-version : 12
19
+ - name : Install dependencies
20
+ run : npm ci
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
1
+ {
2
+ "plugins": [
3
+ "@semantic-release/commit-analyzer",
4
+ "@semantic-release/release-notes-generator",
5
+ "@semantic-release/changelog",
6
+ "@semantic-release/npm",
7
+ "@semantic-release/github",
8
+ ["@semantic-release/git", {
9
+ "assets": ["CHANGELOG.md", "package*.json"]
10
+ }]
11
+ ],
12
+ "branches": [
13
+ "master"
14
+ ]
15
+ }
You can’t perform that action at this time.
0 commit comments