Skip to content

Commit

Permalink
fix: update dependencies
Browse files Browse the repository at this point in the history
Release-as: v1.0.0
  • Loading branch information
targos committed Mar 24, 2021
1 parent 603acd1 commit 7458241
Show file tree
Hide file tree
Showing 32 changed files with 38 additions and 2,590 deletions.
1 change: 1 addition & 0 deletions .github/workflows/documentationjs.yml
@@ -1,6 +1,7 @@
name: Deploy documentation.js on GitHub pages

on:
workflow_dispatch:
release:
types: [published]

Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/nodejs.yml
Expand Up @@ -5,14 +5,17 @@ on:
branches: master
pull_request:

env:
NODE_VERSION: 14.x

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
- uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: ${{ env.NODE_VERSION }}
- name: Install dependencies
run: npm install
- name: Run ESLint
Expand All @@ -22,10 +25,11 @@ jobs:
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 15.x]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2-beta
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/release.yml
Expand Up @@ -5,28 +5,33 @@ on:
branches:
- master

env:
NODE_VERSION: 14.x

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2.5.6
- name: Get package name
run: echo "PACKAGE_NAME=$(jq .name package.json | tr -d '"')" >> $GITHUB_ENV
- uses: GoogleCloudPlatform/release-please-action@v2
id: release
with:
token: ${{ secrets.BOT_TOKEN }}
release-type: node
package-name: 'ml-matrix-peaks-finder'
package-name: ${{ env.PACKAGE_NAME }}
bump-minor-pre-major: Yes
- uses: actions/checkout@v2
# These if statements ensure that a publication only occurs when a new release is created
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v2-beta
- uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: ${{ env.NODE_VERSION }}
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}
- run: npm install
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_BOT_TOKEN }}
if: ${{ steps.release.outputs.release_created }}
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
node_modules
coverage
lib
28 changes: 13 additions & 15 deletions README.md
@@ -1,27 +1,25 @@
# matrix-peaks-finder

[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![David deps][david-image]][david-url]
[![npm download][download-image]][download-url]
[![NPM version][npm-image]][npm-url]
[![build status][ci-image]][ci-url]
[![Test coverage][codecov-image]][codecov-url]
[![npm download][download-image]][download-url]

The peak picking routines for 2D arrays. This library looks for the local maxima of the given input matrix. The input matrix has to be specified as a single vector.

## Installation

```
$ npm install ml-matrix-peaks-finder
```
`npm i ml-matrix-peaks-finder`

## License

[MIT](./LICENSE)

[npm-image]: https://img.shields.io/npm/v/ml-matrix-peaks-finder.svg?style=flat-square
[npm-image]: https://img.shields.io/npm/v/ml-matrix-peaks-finder.svg
[npm-url]: https://npmjs.org/package/ml-matrix-peaks-finder
[travis-image]: https://img.shields.io/travis/mljs/matrix-peaks-finder/master.svg?style=flat-square
[travis-url]: https://travis-ci.org/mljs/matrix-peaks-finder
[david-image]: https://img.shields.io/david/mljs/matrix-peaks-finder.svg?style=flat-square
[david-url]: https://david-dm.org/mljs/matrix-peaks-finder
[download-image]: https://img.shields.io/npm/dm/ml-matrix-peaks-finder.svg?style=flat-square
[download-url]: https://npmjs.org/package/ml-matrix-peaks-finder
[codecov-image]: https://img.shields.io/codecov/c/github/mljs/matrix-peaks-finder.svg
[codecov-url]: https://codecov.io/gh/mljs/matrix-peaks-finder
[ci-image]: https://github.com/mljs/matrix-peaks-finder/workflows/Node.js%20CI/badge.svg?branch=master
[ci-url]: https://github.com/mljs/matrix-peaks-finder/actions?query=workflow%3A%22Node.js+CI%22
[download-image]: https://img.shields.io/npm/dm/ml-matrix-peaks-finder.svg
[download-url]: https://npmjs.org/package/ml-matrix-peaks-finder
27 changes: 0 additions & 27 deletions bower.json

This file was deleted.

0 comments on commit 7458241

Please sign in to comment.