Skip to content
33 changes: 33 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
version: 2.1
jobs:
build:
docker:
- image: node:13.8.0
steps:
- checkout
- run: "npm i"
- run: "npm run lint"
test:
docker:
- image: node:13.8.0
steps:
- checkout
- run: "npm i"
- run: "npm run test"
analyze:
docker:
- image: node:13.8.0
steps:
- checkout
- run: "npm audit"
- run: "npm audit fix"
workflows:
build-workflow:
jobs:
- build
- test:
requires:
- build
- analyze:
requires:
- test