Skip to content

Commit cc7015d

Browse files
committed
chore: configure NPM auth and remove Slack notification from release workflow
1 parent 9be2bd1 commit cc7015d

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
with:
2626
node-version: 20
2727
cache: 'pnpm'
28+
registry-url: 'https://registry.npmjs.org'
29+
scope: '@composer-kit'
30+
node-auth-token: ${{ secrets.NPM_TOKEN }}
2831

2932
- name: Install Dependencies
3033
run: pnpm install
@@ -38,8 +41,3 @@ jobs:
3841
env:
3942
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4043
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
41-
42-
- name: Send a Slack notification if a publish happens
43-
if: steps.changesets.outputs.published == 'true'
44-
# You can do something when a publish happens.
45-
run: my-slack-bot send-notification --message "A new version of ${GITHUB_REPOSITORY} was published!"

0 commit comments

Comments
 (0)