diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 2ada611..9917387 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -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 diff --git a/package-lock.json b/package-lock.json index 4ab379a..c6cda61 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hivessh", - "version": "1.0.3S", + "version": "1.0.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "hivessh", - "version": "1.0.3S", + "version": "1.0.4", "license": "MIT", "os": [ "!win32" diff --git a/package.json b/package.json index b611b4c..5c11cbd 100644 --- a/package.json +++ b/package.json @@ -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",