Skip to content
This repository was archived by the owner on Feb 28, 2026. It is now read-only.

Commit c18c4c0

Browse files
committed
ci: streamline npm publish workflow
1 parent df2a8ad commit c18c4c0

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,6 @@ jobs:
5151
echo "tag_exists=false" >> "$GITHUB_OUTPUT"
5252
fi
5353
54-
- name: Verify NPM token
55-
if: steps.determine.outputs.changed == 'true' && steps.determine.outputs.tag_exists == 'false'
56-
run: |
57-
if [ -z "${NPM_TOKEN}" ]; then
58-
echo "NPM_TOKEN secret is required" >&2
59-
exit 1
60-
fi
61-
env:
62-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
63-
6454
- name: Install dependencies
6555
if: steps.determine.outputs.changed == 'true' && steps.determine.outputs.tag_exists == 'false'
6656
run: npm install
@@ -131,6 +121,4 @@ jobs:
131121

132122
- name: Publish to npm
133123
if: steps.determine.outputs.changed == 'true' && steps.determine.outputs.tag_exists == 'false'
134-
env:
135-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
136124
run: npm publish --access public --provenance

0 commit comments

Comments
 (0)