Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/kevduc/diophantine
Browse files Browse the repository at this point in the history
  • Loading branch information
kevduc committed Apr 24, 2021
2 parents 466d275 + 538c86c commit 40f0fb0
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 17 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Node.js Package
name: npm-publish

on:
release:
Expand Down Expand Up @@ -32,16 +32,16 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

publish-gpr:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
# publish-gpr:
# needs: build
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v2
# with:
# node-version: 12
# registry-url: https://npm.pkg.github.com/
# - run: npm ci
# - run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
# diophantine
[![npm-publish](https://github.com/kevduc/diophantine/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/kevduc/diophantine/actions/workflows/npm-publish.yml)

Solve linear diophantine equations.

**Documentation:** [kevduc.github.io/diophantine](https://kevduc.github.io/diophantine/)
**npm**
**`npm i diophantine`**
[npmjs.com/diophantine](https://www.npmjs.com/package/diophantine)

**GitHub repository:** [kevduc/diophantine](https://github.com/kevduc/diophantine)
**Documentation**
[kevduc.github.io/diophantine](https://kevduc.github.io/diophantine/)

**GitHub**
[kevduc/diophantine](https://github.com/kevduc/diophantine)

## Example

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "diophantine",
"version": "1.0.0",
"version": "1.0.3",
"description": "Solve linear diophantine equations",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 40f0fb0

Please sign in to comment.