Skip to content

Commit

Permalink
Add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmeusel committed Sep 25, 2019
1 parent 36d9c06 commit a9e3978
Show file tree
Hide file tree
Showing 4 changed files with 408 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm install
npm run build
npm test
npm run test
export COVERALLS_GIT_BRANCH=${GITHUB_REF:11}
npm run test:coveralls
env:
CI: true
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# dereference-json-schema

[![Coverage Status](https://coveralls.io/repos/github/koppadb/dereference-json-schema/badge.svg)](https://coveralls.io/github/koppadb/dereference-json-schema)

JavaScript library to resolve `$ref` references in a given set of JSON schemas

```javascript
Expand Down
Loading

0 comments on commit a9e3978

Please sign in to comment.