Skip to content

Commit 541b034

Browse files
ci: make the ci lint the commit messages (#309)
1 parent a8b8a4c commit 541b034

File tree

4 files changed

+27
-2
lines changed

4 files changed

+27
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ before_install:
1414
- docker ps
1515

1616
script:
17+
- commitlint-travis
1718
- yarn lint
1819
- yarn test

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
### Changed
1212
- Technical - Introduce conventional commits.
13+
- Technical - Make the CI lint the commit messages.
1314

1415
## RELEASE 6.0.1 - 2020-04-06
1516
### Fixed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"@babel/register": "7.8.3",
4343
"@commitlint/cli": "8.3.5",
4444
"@commitlint/config-conventional": "8.3.4",
45+
"@commitlint/travis-cli": "8.3.5",
4546
"@forestadmin/devops": "2.0.0",
4647
"babel-eslint": "10.0.3",
4748
"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.0"
907916
resolved "https://registry.yarnpkg.com/@forestadmin/devops/-/devops-2.0.0.tgz#77c1edc40ba31c46502e4991ae534064d8fc7db8"
@@ -1621,7 +1630,7 @@ babel-preset-jest@^24.9.0:
16211630
"@babel/plugin-syntax-object-rest-spread" "^7.0.0"
16221631
babel-plugin-jest-hoist "^24.9.0"
16231632

1624-
babel-runtime@^6.23.0, babel-runtime@^6.26.0:
1633+
babel-runtime@6.26.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0:
16251634
version "6.26.0"
16261635
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
16271636
integrity sha1-llxwWGaOgrVde/4E/yM3vItWR/4=
@@ -2696,6 +2705,19 @@ exec-sh@^0.3.2:
26962705
resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.3.4.tgz#3a018ceb526cc6f6df2bb504b2bfe8e3a4934ec5"
26972706
integrity sha512-sEFIkc61v75sWeOe72qyrqg2Qg0OuLESziUDk/O/z2qgS15y2gWVFrI6f2Qn/qw/0/NCfCEsmNA4zOjkwEZT1A==
26982707

2708+
2709+
version "0.11.0"
2710+
resolved "https://registry.yarnpkg.com/execa/-/execa-0.11.0.tgz#0b3c71daf9b9159c252a863cd981af1b4410d97a"
2711+
integrity sha512-k5AR22vCt1DcfeiRixW46U5tMLtBg44ssdJM9PiXw3D8Bn5qyxFCSnKY/eR22y+ctFDGPqafpaXg2G4Emyua4A==
2712+
dependencies:
2713+
cross-spawn "^6.0.0"
2714+
get-stream "^4.0.0"
2715+
is-stream "^1.1.0"
2716+
npm-run-path "^2.0.0"
2717+
p-finally "^1.0.0"
2718+
signal-exit "^3.0.0"
2719+
strip-eof "^1.0.0"
2720+
26992721
execa@^1.0.0:
27002722
version "1.0.0"
27012723
resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8"

0 commit comments

Comments
 (0)