Skip to content

Commit

Permalink
ci: add NPM script for publishing to npm (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
KhudaDad414 authored Jan 23, 2024
1 parent 113d078 commit 2f36437
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@ jobs:
- name: Create Release Pull Request or Release
uses: changesets/action@v1
with:
publish: npm run publish
publish: npm run publish-packages
version: npm run version-packages
commit: "version packages"
title: "chore: version packages"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GIT_AUTHOR_NAME: asyncapi-bot
GIT_AUTHOR_EMAIL: [email protected]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test": "turbo run test",
"changeset": "changeset",
"version-packages": "changeset version",
"publish": "changeset publish",
"publish-packages": "turbo run build && changeset publish",
"build:studio": "turbo run build --no-cache --filter=studio...",
"build:ds": "turbo run build --filter=design-system...",
"build:studio-next": "turbo run build --no-cache --filter=studio-next..."
Expand Down

0 comments on commit 2f36437

Please sign in to comment.