Skip to content

Commit 9dd0bac

Browse files
author
Winner-Timothy Bolorunduro
committed
#24 | add in updated build
1 parent 3ff1531 commit 9dd0bac

File tree

2 files changed

+39
-8
lines changed

2 files changed

+39
-8
lines changed

.circleci/config.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
## References:
2+
# https://git.io/Jf3l9
3+
# https://circleci.com/docs/2.0/yarn/
4+
# https://circleci.com/docs/2.0/caching/#yarn-node
5+
# https://circleci.com/orbs/registry/orb/circleci/node
6+
# https://discuss.circleci.com/t/circleci-2-1-config-overview/26057
7+
version: 2.1
8+
9+
orbs:
10+
node: circleci/[email protected]
11+
12+
commands:
13+
setup-node-and-yarn-install-with-cache:
14+
steps:
15+
- node/install:
16+
install-yarn: true
17+
node-version: latest
18+
- node/install-packages:
19+
pkg-manager: yarn
20+
cache-key: yarn.lock
21+
22+
jobs:
23+
lint-and-test:
24+
executor:
25+
name: node/default
26+
steps:
27+
- checkout
28+
- setup-node-and-yarn-install-with-cache
29+
- run:
30+
name: Run Coverage
31+
command: npm run cover
32+
- run:
33+
name: Report Coverage
34+
command: npm run coveralls
35+
36+
workflows:
37+
run-ci:
38+
jobs:
39+
- lint-and-test

circle.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)