Skip to content

Commit 4f84fd9

Browse files
committed
ci: Fix release notes generator
See: semantic-release/release-notes-generator#657
1 parent 6c7d9e5 commit 4f84fd9

File tree

4 files changed

+5
-26
lines changed

4 files changed

+5
-26
lines changed

.commitlintrc.js

-9
This file was deleted.

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
node-version: '${{ matrix.node }}'
3030
- name: 'Install depependencies'
31-
run: yarn install
31+
run: npm install --force
3232
- name: 'Regenerate'
3333
run: npm run regen
3434
- name: 'ESLint'
@@ -59,7 +59,7 @@ jobs:
5959
with:
6060
node-version: 22
6161
- name: 'Install depependencies'
62-
run: yarn install
62+
run: npm install --force
6363
- name: 'Build'
6464
run: npm run build
6565
- name: 'Release'

Taskfile

-8
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,4 @@ compatibilty_check() {
6262
set +x
6363
}
6464

65-
commit_lint() {
66-
if git-branch-is -q -r "^(master)"; then
67-
commitlint --edit
68-
else
69-
true
70-
fi
71-
}
72-
7365
"$@"

package.json

+3-7
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,12 @@
5959
"compatibilty_check": "sh Taskfile compatibilty_check",
6060
"commit": "cz"
6161
},
62+
"overrides": {
63+
"conventional-changelog-conventionalcommits": ">= 8.0.0"
64+
},
6265
"config": {
6366
"commitizen": {
6467
"path": "node_modules/cz-customizable"
65-
},
66-
"ghooks": {
67-
"pre-commit": "precise-commits",
68-
"commit-msg": "sh Taskfile commit_lint"
6968
}
7069
},
7170
"dependencies": {
@@ -83,8 +82,6 @@
8382
"ts-morph": "11 - 16"
8483
},
8584
"devDependencies": {
86-
"@commitlint/cli": "^19.6.1",
87-
"@commitlint/config-conventional": "^19.6.0",
8885
"@eslint/compat": "^1.2.5",
8986
"@nestjs/apollo": "^13.0.1",
9087
"@nestjs/common": "^11.0.1",
@@ -128,7 +125,6 @@
128125
"eslint-plugin-unicorn": "^56.0.1",
129126
"eslint-plugin-wix-editor": "^3.3.0",
130127
"expect": "^29.7.0",
131-
"git-branch-is": "^4.0.0",
132128
"graphql": "^16.10.0",
133129
"graphql-scalars": "^1.24.0",
134130
"graphql-type-json": "^0.3.2",

0 commit comments

Comments
 (0)