FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix NPM publishing · patternfly-java/patternfly-java@89ff555 · GitHub

Commit 89ff555

Browse files
committed
Fix NPM publishing
1 parent eec2544 commit 89ff555

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,24 +79,22 @@ jobs:
7979
node-version: 25
8080
registry-url: https://registry.npmjs.org
8181
- run: corepack enable
82+
- name: Configure NPM Authentication
83+
run: echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
84+
env:
85+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8286
- name: Publish @patternfly-java/core
8387
working-directory: core/npm
8488
run: pnpm publish --access public --no-git-checks
85-
env:
86-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8789
- name: Publish @patternfly-java/finder
8890
working-directory: extensions/finder/npm
8991
run: pnpm publish --access public --no-git-checks
90-
env:
91-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
9292
- name: Publish @patternfly-java/charts
9393
working-directory: charts/npm
9494
run: |
9595
pnpm install
9696
pnpm run build
9797
pnpm publish --access public --no-git-checks
98-
env:
99-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
10098
10199
publish-showcase:
102100
name: Publish Showcase

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL