Skip to content

Commit

Permalink
Update package version
Browse files Browse the repository at this point in the history
  • Loading branch information
hgouveia committed Apr 9, 2021
1 parent 842fb84 commit 9fbb27d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,4 @@ jobs:
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

publish-gpr:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: 'https://npm.pkg.github.com'
repo-token: ${{ secrets.GITHUB_TOKEN }}
scope: '@hgouveia'
- run: npm login --registry=https://npm.pkg.github.com --scope=@hgouveia
- run: npm install --no-optional
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-downloader-helper",
"version": "1.0.17",
"version": "1.0.18",
"description": "A simple http file downloader for node.js",
"main": "./dist/index.js",
"types": "./types/index.d.ts",
Expand Down

0 comments on commit 9fbb27d

Please sign in to comment.