diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 59f81a3..9132049 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -15,25 +15,8 @@ jobs: with: node-version: "16.x" registry-url: "https://registry.npmjs.org" - scope: "@wethegit" - - run: | - npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN - npm config list - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - run: npm install - run: npm run build - run: npm publish --access public env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - - # Publish to Github registry - - uses: actions/setup-node@v3 - with: - node-version: "16.x" - registry-url: https://npm.pkg.github.com/ - - run: npm install - - run: npm run build - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} \ No newline at end of file