Skip to content

Commit f1e8c14

Browse files
committed
commitlint.sh: simplify
Rather use more straightforward package names, as advised in [1] and [2]. [1] conventional-changelog/commitlint#3892 [2] Kochava/github-workflows#30
1 parent f66add9 commit f1e8c14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

commitlint.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -euxo pipefail
44
# cd to directory of this script
55
cd "$(dirname "$0")"
66
npm install
7-
npm install conventional-changelog-conventionalcommits commitlint@latest
8-
./node_modules/commitlint/cli.js --version
9-
./node_modules/commitlint/cli.js $@
7+
npm install @commitlint/config-conventional @commitlint/cli
8+
./node_modules/@commitlint/cli/cli.js --version
9+
./node_modules/@commitlint/cli/cli.js $@
1010
cd ..

0 commit comments

Comments
 (0)