File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88jobs :
99 commitlint :
10- runs-on : ubuntu-22 .04
10+ runs-on : ubuntu-24 .04
1111 steps :
12- - uses : actions/checkout@v2
12+ - uses : actions/checkout@v6
1313 with :
14- fetch-depth : 0
15- - uses : actions/setup-node@v2
16- - run : sudo npm install --global @commitlint/{config-conventional,cli}@17
14+ fetch-depth : 0
15+ - uses : actions/setup-node@v6
16+ with :
17+ node-version : " 22"
18+ - run : sudo npm install --global @commitlint/{config-conventional,cli}@20
1719 - if : github.event_name == 'pull_request'
1820 name : commitlint (pr)
1921 run : commitlint -V --from HEAD~${{ github.event.pull_request.commits }}
@@ -35,19 +37,21 @@ jobs:
3537 release :
3638 if : github.ref == 'refs/heads/main'
3739 needs : commitlint
38- runs-on : ubuntu-22 .04
40+ runs-on : ubuntu-24 .04
3941 permissions :
4042 contents : write # for creating the gh release
4143 issues : write # for commenting on related issues
4244 pull-requests : write # for commenting on related pull-requests
4345 steps :
44- - uses : actions/checkout@v2
46+ - uses : actions/checkout@v6
4547 with :
4648 fetch-depth : 0 # semantic release needs all the history
47- - uses : actions/setup-node@v2
48- - run : sudo npm install --global conventional-changelog-conventionalcommits@5 semantic-release@19
49+ - uses : actions/setup-node@v6
50+ with :
51+ node-version : " 22"
52+ - run : sudo npm install --global conventional-changelog-conventionalcommits@9 semantic-release@25
4953 - name : Release
5054 env :
5155 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5256 run : semantic-release
53-
57+
You can’t perform that action at this time.
0 commit comments