Skip to content

Commit

Permalink
Add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonsm92 committed Feb 7, 2020
1 parent e6d1be0 commit ad9de5f
Show file tree
Hide file tree
Showing 5 changed files with 453 additions and 127 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,11 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run lint
- run: npm run test
- run: npm run coverage
env:
COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}"
COVERALLS_GIT_BRANCH: "${{ github.ref }}"
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -337,4 +337,7 @@ coverage
.DS_Store

# npmjs
.npmrc
.npmrc

# Coveralls
.coveralls.yml
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# js-to-formdata ![](https://github.com/alisonsm92/js-to-formdata/workflows/CI/badge.svg) <span class="badge-npmversion"><a href="https://npmjs.org/package/js-to-formdata" title="View this project on NPM"><img src="https://img.shields.io/npm/v/js-to-formdata.svg" alt="NPM version" /></a></span> <span class="badge-npmdownloads"><a href="https://npmjs.org/package/js-to-formdata" title="View this project on NPM"><img src="https://img.shields.io/npm/dm/js-to-formdata.svg" alt="NPM downloads" /></a></span>
# js-to-formdata
![](https://github.com/alisonsm92/js-to-formdata/workflows/CI/badge.svg)
<span class="badge-npmversion"><a href="https://npmjs.org/package/js-to-formdata" title="View this project on NPM"><img src="https://img.shields.io/npm/v/js-to-formdata.svg" alt="NPM version" /></a></span>
<span class="badge-npmdownloads"><a href="https://npmjs.org/package/js-to-formdata" title="View this project on NPM"><img src="https://img.shields.io/npm/dm/js-to-formdata.svg" alt="NPM downloads" /></a></span>
[![Coverage Status](https://coveralls.io/repos/github/alisonsm92/js-to-formdata/badge.svg?branch=test-dev-dependencies)](https://coveralls.io/github/alisonsm92/js-to-formdata?branch=test-dev-dependencies)

Module that makes it possible and easy for you to convert nested javascript objects directly to [Form-Data](https://www.npmjs.com/package/form-data).

Expand Down

0 comments on commit ad9de5f

Please sign in to comment.