Skip to content

Commit

Permalink
removes GH publish
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonmarcello committed May 20, 2023
1 parent 6b3c17f commit 63ef336
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}

0 comments on commit 63ef336

Please sign in to comment.