Skip to content

Commit

Permalink
Merge f089b4c into 129e8db
Browse files Browse the repository at this point in the history
  • Loading branch information
vansergen committed Jan 23, 2020
2 parents 129e8db + f089b4c commit 83af943
Show file tree
Hide file tree
Showing 12 changed files with 1,447 additions and 331 deletions.
8 changes: 7 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
"files": ["*.js"],
"rules": {
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-function-return-type": "off"
}
},
{
"files": ["*.d.ts"],
"rules": {
"@typescript-eslint/no-explicit-any": "off"
}
},
Expand All @@ -26,6 +31,7 @@
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: 12
registry-url: "https://registry.npmjs.org"
- name: Node.js version
run: node -v
- name: npm version
run: npm -v
- name: Install dependencies
run: npm ci
- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
language: node_js
node_js:
- 8
- 9
- 10
- 11
- 12
Expand All @@ -12,3 +10,5 @@ script:
- npm test
- npm run prepublishOnly
- npm run postpublish
after_script:
- npm run coverage-ci
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coinbase-pro-node-api [![Build Status](https://travis-ci.com/vansergen/coinbase-pro.svg?branch=master)](https://travis-ci.com/vansergen/coinbase-pro) [![GitHub version](https://badge.fury.io/gh/vansergen%2Fcoinbase-pro.svg)](https://github.com/vansergen/coinbase-pro) ![node](https://img.shields.io/node/v/coinbase-pro-node-api) ![NPM](https://img.shields.io/npm/l/coinbase-pro-node-api) ![npm](https://img.shields.io/npm/dt/coinbase-pro-node-api) ![GitHub top language](https://img.shields.io/github/languages/top/vansergen/coinbase-pro)
# coinbase-pro-node-api [![Build Status](https://travis-ci.com/vansergen/coinbase-pro.svg?branch=master)](https://travis-ci.com/vansergen/coinbase-pro) [![Coverage Status](https://coveralls.io/repos/github/vansergen/coinbase-pro/badge.svg?branch=master)](https://coveralls.io/github/vansergen/coinbase-pro?branch=master) [![Known Vulnerabilities](https://snyk.io/test/github/vansergen/coinbase-pro/badge.svg)](https://snyk.io/test/github/vansergen/coinbase-pro) [![GitHub version](https://badge.fury.io/gh/vansergen%2Fcoinbase-pro.svg)](https://github.com/vansergen/coinbase-pro) ![node](https://img.shields.io/node/v/coinbase-pro-node-api) ![NPM](https://img.shields.io/npm/l/coinbase-pro-node-api) ![npm](https://img.shields.io/npm/dt/coinbase-pro-node-api) ![GitHub top language](https://img.shields.io/github/languages/top/vansergen/coinbase-pro)

Node.js library for [Coinbase Pro](https://pro.coinbase.com/)

Expand Down

0 comments on commit 83af943

Please sign in to comment.