Skip to content

Commit 5e39f81

Browse files
committed
chore: update to latest versions
1 parent 57cb27a commit 5e39f81

1 file changed

Lines changed: 14 additions & 10 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ on:
77

88
jobs:
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+

0 commit comments

Comments
 (0)