File tree 2 files changed +34
-4
lines changed
2 files changed +34
-4
lines changed Original file line number Diff line number Diff line change
1
+ # https://help.github.com/en/categories/automating-your-workflow-with-github-actions
2
+
3
+ name : " Release"
4
+
5
+ on :
6
+ push :
7
+ branches :
8
+ - " main"
9
+
10
+ jobs :
11
+ tests :
12
+ name : " Create Release"
13
+
14
+ runs-on : " ubuntu-latest"
15
+
16
+ steps :
17
+ - name : " Checkout"
18
+ uses : " actions/checkout@v2"
19
+
20
+ - uses : " actions/setup-node@v2"
21
+ with :
22
+ node-version : ' lts/*'
23
+
24
+ - name : " Run semantic-release"
25
+ env :
26
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27
+ run : npx semantic-release
Original file line number Diff line number Diff line change 1
1
{
2
- "extends": [
3
- "@brainbits/semantic-release-config-symfony",
2
+ "plugins": [
3
+ "@semantic-release/commit-analyzer",
4
+ "@semantic-release/release-notes-generator",
5
+ "@semantic-release/github"
4
6
],
5
- "assets": ["CHANGELOG.md"],
6
- "message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
7
+ "branches": [
8
+ "main"
9
+ ]
7
10
}
You can’t perform that action at this time.
0 commit comments