Skip to content

Commit

Permalink
fix: moving general-number from public npm registry to github registry
Browse files Browse the repository at this point in the history
LijuJoseJJ committed Nov 2, 2020
1 parent 810bfa5 commit d3dfd11
Showing 3 changed files with 1,882 additions and 1,886 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -8,20 +8,18 @@ on:
jobs:
release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master

- uses: actions/setup-node@master
- uses: actions/setup-node@v1
with:
version: 11.15
node-version: '12.x'

- run: |
npm install --no-save
npm run lint
- run: npm install

- name: Release
uses: codfish/semantic-release-action@v1.2.1
- uses: codfish/semantic-release-action@master
id: semantic
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: echo ${{ steps.semantic.outputs.release-version }}
3,745 changes: 1,872 additions & 1,873 deletions package-lock.json

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "general-number",
"name": "@eyblockchain/general-number",
"version": "1.0.0",
"description": "A general number class for easily converting a number to various types",
"main": "index.js",
@@ -28,7 +28,6 @@
"zkp-utils": "^1.0.7"
},
"publishConfig": {
"registry": "http://registry.npmjs.org/",
"access": "public"
"registry": "https://npm.pkg.github.com"
}
}

0 comments on commit d3dfd11

Please sign in to comment.