Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
defaults: &defaults
docker:
- image: circleci/node:13.8.0

version: 2.1

jobs:
build:
<<: *defaults
steps:
- checkout
- run: npm install
- run: npm run lint
test:
<<: *defaults
steps:
- checkout
- run: npm install
- run: npm run test
analyze:
<<: *defaults
steps:
- checkout
- run: npm install
- run: npm audit

workflows:
create_ci_pipeline:
jobs:
- build
- test:
requires:
- build
- analyze:
requires:
- test