1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-09-01 10:02:57 +02:00

ci(lint): allow commitlint to run as a parallel task in CI

This commit is contained in:
Trezy
2018-12-06 08:33:24 -06:00
parent c5dcd3f226
commit dff8743b4d

View File

@@ -94,6 +94,17 @@ jobs:
paths:
- css
commitlint:
<<: *defaults
steps:
- attach_workspace:
at: .
- run:
name: Lint commit messages
command: npx semantic-commitlint -- --ci
lint:
<<: *defaults
@@ -105,10 +116,6 @@ jobs:
name: Lint styles
command: npx stylelint -- --fix
- run:
name: Lint commit messages
command: npx semantic-commitlint -- --ci
# test:
# <<: *defaults
@@ -163,6 +170,9 @@ workflows:
main:
jobs:
- checkout
- commitlint:
requires:
- checkout
- install-dependencies:
requires:
- checkout
@@ -185,9 +195,10 @@ workflows:
- develop
- release:
requires:
# - test
- commitlint
- build
- lint
# - test
filters:
branches:
only: master