Skip to content

Commit

Permalink
Add Prettier check to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Jun 20, 2019
1 parent 5d68776 commit 4c9edbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
# (job boot & setup takes ca 1 minute, one task run usually lasts seconds)

# PR's
- name: ' Lint updated, Unit Tests - Linux - Node.js v12'
- name: 'Prettier check updated, Lint updated, Unit Tests - Linux - Node.js v12'
if: type = pull_request
node_js: 12
env:
- SLS_IGNORE_WARNING=*
- FORCE_COLOR=1 # TTY is lost as processes are combined '&&'
# Combine with '&&' to not continue on fail
script: npm run lint-updated && npm test
script: npm run prettier-check-updated && npm run lint-updated && npm test

# master branch and version tags
- name: 'Lint, Unit Tests - Linux - Node.js v12'
Expand Down

0 comments on commit 4c9edbf

Please sign in to comment.