Add circleci config file

* We can use circleci to test all spec files in solution subdirectories
This commit is contained in:
01zulfi 2023-02-20 19:10:10 +05:00
parent 8dfb7e4508
commit 99d0e8a71a
1 changed files with 20 additions and 0 deletions

20
.circleci/config.yml Normal file
View 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