Add circleci config file
* We can use circleci to test all spec files in solution subdirectories
This commit is contained in:
parent
8dfb7e4508
commit
99d0e8a71a
1 changed files with 20 additions and 0 deletions
20
.circleci/config.yml
Normal file
20
.circleci/config.yml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
version: 2.1
|
||||||
|
|
||||||
|
orbs:
|
||||||
|
node: circleci/node@5.1.0
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test-solutions:
|
||||||
|
executor: node/default
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- node/install-packages:
|
||||||
|
pkg-manager: npm
|
||||||
|
- run:
|
||||||
|
command: npm run test solution
|
||||||
|
name: Run tests in **/solution/*.spec.js
|
||||||
|
|
||||||
|
workflows:
|
||||||
|
test-solutions:
|
||||||
|
jobs:
|
||||||
|
- test-solutions
|
Loading…
Reference in a new issue