From f12614f438c7f00eead2a1684a4ed5b0f1556915 Mon Sep 17 00:00:00 2001 From: Jon Waldstein Date: Fri, 15 Nov 2024 11:56:42 -0500 Subject: [PATCH] chore: update auth token --- .github/workflows/release-package.yml | 30 +++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 018e262..c0e832d 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -2,17 +2,17 @@ name: Node.js Package on: release: - types: [ created ] + types: [created] jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 16 - - run: npm ci + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + - run: npm ci publish-gpr: needs: build @@ -21,12 +21,12 @@ jobs: packages: write contents: read steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 16 - registry-url: 'https://registry.npmjs.org' - - run: npm ci - - run: npm publish --access public - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}} + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + registry-url: "https://registry.npmjs.org" + - run: npm ci + - run: npm publish --access public + env: + NODE_AUTH_TOKEN: ${{secrets.GIVEWP_NPM_PUBLISH_TOKEN}}