Skip to content

Commit

Permalink
ci(circle): Short circuit canary suite
Browse files Browse the repository at this point in the history
 - Leverages a global npm lib in the container to check Webpack dist-tag versions
  • Loading branch information
joshwiens committed Apr 2, 2018
1 parent 91902a0 commit 2c1d451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ canary_tests: &canary_tests
command: npm i --no-save webpack@next
- run:
name: Run unit tests.
command: npm run ci:test
command: if [[ $(compver --name webpack --gte next --lt latest) < 1 ]] ; then printf "n00p Canary Suite"; else npm run test ; fi

version: 2
jobs:
Expand Down

0 comments on commit 2c1d451

Please sign in to comment.