Add circleci auto tests
This commit is contained in:
parent
1cb65de3dd
commit
6d10d07489
1 changed files with 23 additions and 0 deletions
23
.circleci/config.yml
Normal file
23
.circleci/config.yml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
version: 2
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
docker:
|
||||||
|
- image: circleci/node:latest
|
||||||
|
working_directory: ~/flaska
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: Install dependencies
|
||||||
|
command: |
|
||||||
|
npm install
|
||||||
|
npm list --all
|
||||||
|
- run:
|
||||||
|
name: Run tests
|
||||||
|
command: |
|
||||||
|
npm test
|
||||||
|
|
||||||
|
workflows:
|
||||||
|
version: 2
|
||||||
|
build_deploy:
|
||||||
|
jobs:
|
||||||
|
- build
|
Loading…
Reference in a new issue