Skip to content

Commit

Permalink
Merge 4152bfd into ffd898f
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacgr committed Oct 2, 2021
2 parents ffd898f + 4152bfd commit befb915
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 26 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: CI

# Controls when the workflow will run
on: [push, pull_request]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
Expand All @@ -25,14 +25,17 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install packages
run: npm install
- name: Prepare
run: npm run prepare
- name: Coverage
run: npm run coverage
- name: Coveralls Prep?
run: npm run coveralls
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ github.token }}

github-token: ${{ secrets.GITHUB_TOKEN }}
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
- [Download & Installation](#download--installation)
- [Class Documentation](#class-documentation)
- [CLI tool](#cli-tool)
- [Install](#install)
- [Usage](#usage)
- [Install](#install)
- [Usage](#usage)
- [Use of the library as a standalone module](#use-of-the-library-as-a-standalone-module)
- [Initialization](#initialization)
- [WS Client for browser](#ws-client-for-browser)
Expand All @@ -18,10 +18,10 @@
- [Other client and server options](#other-client-and-server-options)
- [Code Demos](#code-demos)
- [Initialization](#initialization-1)
- [TCP](#tcp)
- [HTTP](#http)
- [HTTPS](#https)
- [Websocket](#websocket)
- [TCP](#tcp)
- [HTTP](#http)
- [HTTPS](#https)
- [Websocket](#websocket)
- [Server side](#server-side)
- [Instantiation and Listening](#instantiation-and-listening)
- [Closing the connection](#closing-the-connection)
Expand Down Expand Up @@ -50,12 +50,12 @@

# Jaysonic - A persistent JSON-RPC client and server

| Check | Status |
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Travis CI Build | [![Build Status](https://travis-ci.com/isaacgr/jaysonic.svg?branch=master)](https://travis-ci.com/isaacgr/jaysonic) |
| Test Coverage | [![Coverage Status](https://coveralls.io/repos/github/isaacgr/jaysonic/badge.svg?branch=master)](https://coveralls.io/github/isaacgr/jaysonic?branch=master) |
| Code Maintainability | [![Maintainability](https://api.codeclimate.com/v1/badges/b061f4e44fa85d5e8b04/maintainability)](https://codeclimate.com/github/isaacgr/jaysonic/maintainability) |
| Docs Build | [![Netlify Status](https://api.netlify.com/api/v1/badges/34ec9715-e872-4a37-a53b-7a0207fc57a3/deploy-status)](https://app.netlify.com/sites/keen-sammet-556a43/deploys) |
| Check | Status |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Github CI Build | [![Build Status](https://github.com/isaacgr/jaysonic/actions/workflows/main.yml/badge.svg)](https://github.com/isaacgr/jaysonic/actions/workflows/main.yml?branch=master) |
| Test Coverage | [![Coverage Status](https://coveralls.io/repos/github/isaacgr/jaysonic/badge.svg?branch=master)](https://coveralls.io/github/isaacgr/jaysonic?branch=master) |
| Code Maintainability | [![Maintainability](https://api.codeclimate.com/v1/badges/b061f4e44fa85d5e8b04/maintainability)](https://codeclimate.com/github/isaacgr/jaysonic/maintainability) |
| Docs Build | [![Netlify Status](https://api.netlify.com/api/v1/badges/34ec9715-e872-4a37-a53b-7a0207fc57a3/deploy-status)](https://app.netlify.com/sites/keen-sammet-556a43/deploys) |

---

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
},
"scripts": {
"test": "mocha --opts tests/mocha.opts tests/**/*test.js --exit",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"coveralls": "nyc report --reporter=lcov",
"coverage": "nyc npm run test",
"lint": "./node_modules/eslint/bin/eslint.js .",
"lint-fix": "./node_modules/eslint/bin/eslint.js --fix .",
Expand Down Expand Up @@ -93,4 +93,4 @@
"commander": "^6.1.0",
"ws": "^7.1.0"
}
}
}

0 comments on commit befb915

Please sign in to comment.