From 61d2d98e37cfd5c693e426e75215b57bcc501bb2 Mon Sep 17 00:00:00 2001 From: Chris Talkington Date: Wed, 16 Aug 2023 23:37:12 -0500 Subject: [PATCH] Update npmpublish.yml --- .github/workflows/npmpublish.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index d31d3cdd..dab8b2d8 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -2,7 +2,7 @@ name: Node Publish Package on: release: - types: [created] + types: [published] jobs: build: @@ -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}}