Skip to content

Commit 2c1d451

Browse files
committedApr 2, 2018
ci(circle): Short circuit canary suite
- Leverages a global npm lib in the container to check Webpack dist-tag versions
1 parent 91902a0 commit 2c1d451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ canary_tests: &canary_tests
2424
command: npm i --no-save webpack@next
2525
- run:
2626
name: Run unit tests.
27-
command: npm run ci:test
27+
command: if [[ $(compver --name webpack --gte next --lt latest) < 1 ]] ; then printf "n00p Canary Suite"; else npm run test ; fi
2828

2929
version: 2
3030
jobs:

0 commit comments

Comments
 (0)
Please sign in to comment.