File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -15,20 +15,20 @@ jobs:
1515 fetch-depth : 0
1616 - uses : actions/setup-node@v3
1717 - run : npm ci
18- - run : npx commitlint --from HEAD ~${{ github.event.pull_request.commits }} --to HEAD
18+ - run : npx commitlint --from ${{ github.event.pull_request.head.sha }} ~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
1919 check :
2020 name : Check build
2121 runs-on : ubuntu-latest
2222
2323 steps :
2424 - name : Checkout
25- uses : actions/checkout@v2
25+ uses : actions/checkout@v3
2626 with :
2727 fetch-depth : 0
2828 - name : Setup Node.js
29- uses : actions/setup-node@v1
29+ uses : actions/setup-node@v3
3030 with :
31- node-version : 16.x
31+ node-version : 20.10.0
3232 - name : Install dependencies
3333 run : npm ci
3434 - name : Build
Original file line number Diff line number Diff line change 11name : Release
22
3- on :
4- push :
5- branches : [main]
3+ on : workflow_dispatch
64
75jobs :
86 release :
1513 - name : Setup Node.js
1614 uses : actions/setup-node@v3
1715 with :
18- node-version : 18.x
16+ node-version : 20.10.0
1917 - name : Install dependencies
2018 run : npm ci
2119 - name : Build
Original file line number Diff line number Diff line change 11module . exports = {
22 ...require ( '@codingame/semantic-release-config' ) ,
33 branches : [
4- 'main'
4+ 'main' ,
5+ { name : '*' , channel : 'next' , prerelease : true }
56 ] ,
67 plugins : [
78 '@semantic-release/commit-analyzer' ,
You can’t perform that action at this time.
0 commit comments