Skip to content

Commit

Permalink
Update npmpublish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ctalkington authored Aug 17, 2023
1 parent 31e1fef commit 61d2d98
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Node Publish Package

on:
release:
types: [created]
types: [published]

jobs:
build:
Expand All @@ -28,18 +28,3 @@ jobs:
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

publish-gpr:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-node@v2.2.0
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
scope: '@your-github-username'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 61d2d98

Please sign in to comment.