Skip to content

Commit

Permalink
chore: update auth token
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Waldstein committed Nov 15, 2024
1 parent 769bf0e commit f12614f
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}}

0 comments on commit f12614f

Please sign in to comment.