Skip to content

Commit eee41e3

Browse files
authored
Merge pull request #1022 from bob-collective/npm-publish
revert to npm trusted publishing
2 parents d6f9f5d + 4854540 commit eee41e3

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/cli-npm.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
run:
1818
working-directory: ./gateway-cli
1919
steps:
20-
- uses: actions/checkout@v4
21-
- uses: actions/setup-node@v4
20+
- uses: actions/checkout@v6
21+
- uses: actions/setup-node@v6
2222
with:
2323
node-version: '24'
2424
registry-url: 'https://registry.npmjs.org'
@@ -68,8 +68,6 @@ jobs:
6868
6969
- name: Publish
7070
if: env.PUBLISH == 'true'
71-
env:
72-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7371
run: |
7472
if [[ "${{ steps.version.outputs.version }}" == *rc* ]]; then
7573
npm publish --access public --provenance --tag rc

.github/workflows/sdk-npm.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ jobs:
4343
fi
4444
- name: publish to npm
4545
if: env.PUBLISH == 'true'
46-
env:
47-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4846
run: |
4947
if [[ "${{ steps.version.outputs.version }}" == *rc* ]]; then
5048
npm publish --access public --tag rc

0 commit comments

Comments
 (0)