chore: fix commitlint

This commit is contained in:
Clément 'birdy' Danjou
2024-06-29 16:46:49 +02:00
parent 7774d8dd69
commit e7af29bfd7
3 changed files with 4 additions and 2 deletions

View File

@@ -13,10 +13,10 @@ jobs:
- name: Setup Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 18.x
node-version: 20.x
- run: npm ci
- name: Install commitlint
run: |
npm install -g @commitlint/cli @commitlint/config-conventional
npm install -g @commitlint/cli@^18
- name: Validate all commits from PR
run: npx commitlint --config .github/config/commitlint.config.js --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose

1
package-lock.json generated
View File

@@ -15,6 +15,7 @@
},
"devDependencies": {
"@commitlint/config-conventional": "^18.6.1",
"@commitlint/types": "^18.6.1",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.0",
"@nomicfoundation/hardhat-ethers": "^3.0.4",
"@nomicfoundation/hardhat-network-helpers": "^1.0.6",

View File

@@ -53,6 +53,7 @@
"homepage": "https://github.com/zama-ai/fhevm#readme",
"devDependencies": {
"@commitlint/config-conventional": "^18.6.1",
"@commitlint/types": "^18.6.1",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.0",
"@nomicfoundation/hardhat-ethers": "^3.0.4",
"@nomicfoundation/hardhat-network-helpers": "^1.0.6",