Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #39 from prometheus-community/feature/test
Browse files Browse the repository at this point in the history
set up unit test
  • Loading branch information
Nexucis committed Sep 2, 2020
2 parents 2ca14d0 + 225a9f6 commit ac3db62
Show file tree
Hide file tree
Showing 11 changed files with 921 additions and 40 deletions.
17 changes: 16 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- checkout
- node/install-packages
- run: npm run build

lint-lib:
executor:
name: node/default
Expand All @@ -28,6 +29,14 @@ jobs:
- node/install-packages
- run: npm run lint

test-lib:
executor:
name: node/default
steps:
- checkout
- node/install-packages
- run: npm test

publish:
executor:
name: node/default
Expand All @@ -53,13 +62,19 @@ workflows:
- build-app:
filters:
tags:
only: /.*/
ignore: /.*/
- lint-lib:
requires:
- build-lib
filters:
tags:
ignore: /.*/
- test-lib:
requires:
- build-lib
filters:
tags:
ignore: /.*/
- publish:
requires:
- build-lib
Expand Down

0 comments on commit ac3db62

Please sign in to comment.