ci: update ci actions

This commit is contained in:
Ahmad 2025-06-13 23:56:57 -04:00
parent 1360243294
commit beefc6aac0
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
5 changed files with 23 additions and 20 deletions

View file

@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
node-version: [23.x]
node-version: [24.x]
steps:
- uses: actions/checkout@v4
@ -35,8 +35,8 @@ jobs:
- name: Validate current commit (last commit) with commitlint
if: github.event_name == 'push'
run: npx commitlint --last --verbose
run: yarn dlx commitlint --last --verbose
- name: Validate PR commits with commitlint
if: github.event_name == 'pull_request'
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
run: yarn dlx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose