Skip to content

Commit

Permalink
Merge pull request #157 from nostalgic-css/93/soften-commitlint-rules
Browse files Browse the repository at this point in the history
Fix `develop` builds
  • Loading branch information
BcRikko authored Dec 10, 2018
2 parents 22f2c89 + 577bd95 commit 8acab18
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1,678 deletions.
26 changes: 12 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ defaults: &defaults


jobs:
commitlint:
docker:
- image: williamlauze/circleci-commitlint:latest
working_directory: ~/app

steps:
- checkout
- run:
name: Lint commit messages
command: /bin/sh /.scripts/commitlint_range.sh

checkout:
<<: *defaults

Expand Down Expand Up @@ -94,17 +105,6 @@ jobs:
paths:
- css

commitlint:
<<: *defaults

steps:
- attach_workspace:
at: .

- run:
name: Lint commit messages
command: npx semantic-commitlint -- --ci

lint:
<<: *defaults

Expand Down Expand Up @@ -170,6 +170,7 @@ workflows:
main:
jobs:
- checkout
- commitlint
- install-dependencies:
requires:
- checkout
Expand All @@ -179,9 +180,6 @@ workflows:
# - coverage:
# requires:
# - install-dependencies
- commitlint:
requires:
- install-dependencies
- lint:
requires:
- install-dependencies
Expand Down
Loading

0 comments on commit 8acab18

Please sign in to comment.