Add circleci auto tests

master
Jonatan Nilsson 2021-10-11 02:14:29 +00:00
parent 1cb65de3dd
commit 6d10d07489
1 changed files with 23 additions and 0 deletions

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