Skip to content

Commit 1ca357f

Browse files
author
deleonn
committed
Add nyc, update circleci pipeline and fix e2e test run
1 parent 46d10cc commit 1ca357f

File tree

6 files changed

+8457
-5651
lines changed

6 files changed

+8457
-5651
lines changed

.circleci/config.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,15 @@ jobs:
1313
auth:
1414
username: $DOCKERHUB_USERNAME
1515
password: $DOCKERHUB_PASSWORD
16-
- image: mongo:4.2
17-
auth:
18-
username: $DOCKERHUB_USERNAME
19-
password: $DOCKERHUB_PASSWORD
2016
steps:
2117
- browser-tools/install-browser-tools
2218
- checkout
2319
- run:
2420
name: NPM install
2521
command: npm ci
2622
- run:
27-
name: Run linting
28-
command: npm run lint
29-
- run:
30-
name: Run tests with browser
31-
command: npm run test:browser
23+
name: Run tests with coverage
24+
command: npm run test:ci
3225
- store_artifacts:
3326
path: coverage
3427
publish-npm:

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ node_modules
1111
lib/
1212
/.idea
1313
*.tgz
14-
.vscode
14+
.vscode
15+
tmp

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# particle-api-js
22
JS Library for the Particle Cloud API for Node.js and the browser
33

4-
[![Build Status](https://circleci.com/gh/particle-iot/particle-api-js.svg?style=shield&circle-token=e41d6332462903a16e5e172ae045909281c60736)](https://app.circleci.com/pipelines/github/particle-iot/particle-api-js)
4+
[![Build Status](https://circleci.com/gh/particle-iot/particle-api-js.svg?style=shield)](https://app.circleci.com/pipelines/github/particle-iot/particle-api-js)
55

66
## Installation
77

0 commit comments

Comments
 (0)