diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 539b0c98d..b5dfb1799 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: info@asyncapi.io diff --git a/package.json b/package.json index aad8c86e8..791b222d1 100644 --- a/package.json +++ b/package.json @@ -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..."