Skip to content

Commit 831b3c1

Browse files
arnaudbesnierSteveBunlon
authored andcommitted
ci: make the ci lint the commit messages (#401)
1 parent 9215d76 commit 831b3c1

File tree

4 files changed

+28
-2
lines changed

4 files changed

+28
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ before_install:
1616
- docker ps
1717

1818
script:
19+
- commitlint-travis
1920
- yarn lint
2021
- sleep 20; yarn test --forceExit

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Change Log
22

33
## [Unreleased]
4+
### Changed
5+
- Technical - Make the CI lint the commit messages.
46

57
## RELEASE 6.0.3 - 2020-04-14
68
### Changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"@babel/register": "7.8.3",
4141
"@commitlint/cli": "8.3.5",
4242
"@commitlint/config-conventional": "8.3.4",
43+
"@commitlint/travis-cli": "8.3.5",
4344
"@forestadmin/devops": "2.0.1",
4445
"babel-eslint": "10.0.3",
4546
"dotenv": "6.2.0",

yarn.lock

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@
772772
exec-sh "^0.3.2"
773773
minimist "^1.2.0"
774774

775-
"@commitlint/[email protected]":
775+
"@commitlint/[email protected]", "@commitlint/cli@^8.3.5":
776776
version "8.3.5"
777777
resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-8.3.5.tgz#6d93a3a8b2437fa978999d3f6a336bcc70be3fd3"
778778
integrity sha512-6+L0vbw55UEdht71pgWOE55SRgb+8OHcEwGDB234VlIBFGK9P2QOBU7MHiYJ5cjdjCQ0rReNrGjOHmJ99jwf0w==
@@ -902,6 +902,15 @@
902902
dependencies:
903903
find-up "^4.0.0"
904904

905+
"@commitlint/[email protected]":
906+
version "8.3.5"
907+
resolved "https://registry.yarnpkg.com/@commitlint/travis-cli/-/travis-cli-8.3.5.tgz#876207b7d5fe1f5b94f89d32c202dca2234e0725"
908+
integrity sha512-E456A36Ya9Zrr0+ONfkPoHNdWnX4zfR6seHjuzTy0393iSHNc9cZ250mGw0SKQiYQu8x1QHrQyWwyRXLb2iASw==
909+
dependencies:
910+
"@commitlint/cli" "^8.3.5"
911+
babel-runtime "6.26.0"
912+
execa "0.11.0"
913+
905914
"@forestadmin/[email protected]":
906915
version "2.0.1"
907916
resolved "https://registry.yarnpkg.com/@forestadmin/devops/-/devops-2.0.1.tgz#4f5158e341d92ebc960bd4017b62595432237fd1"
@@ -1631,7 +1640,7 @@ babel-preset-jest@^24.9.0:
16311640
"@babel/plugin-syntax-object-rest-spread" "^7.0.0"
16321641
babel-plugin-jest-hoist "^24.9.0"
16331642

1634-
babel-runtime@^6.23.0, babel-runtime@^6.26.0:
1643+
babel-runtime@6.26.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0:
16351644
version "6.26.0"
16361645
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
16371646
integrity sha1-llxwWGaOgrVde/4E/yM3vItWR/4=
@@ -2742,6 +2751,19 @@ exec-sh@^0.3.2:
27422751
resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.3.4.tgz#3a018ceb526cc6f6df2bb504b2bfe8e3a4934ec5"
27432752
integrity sha512-sEFIkc61v75sWeOe72qyrqg2Qg0OuLESziUDk/O/z2qgS15y2gWVFrI6f2Qn/qw/0/NCfCEsmNA4zOjkwEZT1A==
27442753

2754+
2755+
version "0.11.0"
2756+
resolved "https://registry.yarnpkg.com/execa/-/execa-0.11.0.tgz#0b3c71daf9b9159c252a863cd981af1b4410d97a"
2757+
integrity sha512-k5AR22vCt1DcfeiRixW46U5tMLtBg44ssdJM9PiXw3D8Bn5qyxFCSnKY/eR22y+ctFDGPqafpaXg2G4Emyua4A==
2758+
dependencies:
2759+
cross-spawn "^6.0.0"
2760+
get-stream "^4.0.0"
2761+
is-stream "^1.1.0"
2762+
npm-run-path "^2.0.0"
2763+
p-finally "^1.0.0"
2764+
signal-exit "^3.0.0"
2765+
strip-eof "^1.0.0"
2766+
27452767
execa@^1.0.0:
27462768
version "1.0.0"
27472769
resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8"

0 commit comments

Comments
 (0)