Skip to content

Commit

Permalink
fix: Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SinisterDeveloper authored and SinisterDeveloper committed Sep 14, 2021
1 parent 3cd4421 commit 83bd4e0
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,4 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

2 comments on commit 83bd4e0

@Yankue
Copy link

@Yankue Yankue commented on 83bd4e0 Sep 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

smh you shouldn't be doing this, do studying or something

@SinisterDeveloper
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😳

Please sign in to comment.