Skip to content

Commit 9bc08f7

Browse files
committed
chore: remove reliance on npm token
1 parent 9149df1 commit 9bc08f7

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/release-please.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
id: do-publish
3131
if: ${{ steps.release.outputs.release_created }}
3232
run: |
33-
if [ -z "${{ secrets.NPM_TOKEN }}" ]; then
34-
echo "No Token"
35-
else
33+
# if [ -z "${{ secrets.NPM_TOKEN }}" ]; then
34+
# echo "No Token"
35+
# else
3636
corepack enable
3737
3838
PUBLISHED_VERSION=$(yarn npm info --json . | jq -c '.version' -r)
@@ -55,7 +55,7 @@ jobs:
5555
echo "docs=0" >> $GITHUB_OUTPUT
5656
fi
5757
58-
fi
58+
# fi
5959
- name: Publish to NPM
6060
if: ${{ steps.do-publish.outputs.tag }}
6161
run: |
@@ -65,4 +65,3 @@ jobs:
6565
echo "**Published:** $NEW_VERSION" >> $GITHUB_STEP_SUMMARY
6666
env:
6767
CI: true
68-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)