Skip to content

Commit

Permalink
Fix: github release pipeline 3
Browse files Browse the repository at this point in the history
  • Loading branch information
NobleMajo committed May 29, 2024
1 parent 88cf41e commit cd35c14
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,16 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://npm.pkg.github.com/
scope: '@noblemajo'
- uses: actions/download-artifact@v4
with:
name: build-artifacts
path: dist
- run: npm publish
- run: |
npm config set registry "https://npm.pkg.github.com/"
npm config set scope "@${{ github.repository_owner }}"
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ github.token }}
publish-npm:
needs: build
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hivessh",
"version": "1.0.3S",
"version": "1.0.4",
"description": "HiveSsh simplifies SSH2 connections via promise-based task execution on Linux servers with built-in server utilities and powerful command execution functions",
"main": "dist/index.js",
"type": "module",
Expand Down

0 comments on commit cd35c14

Please sign in to comment.