From 59fce7f185abcb3aa942cd0d9c8f9fe5ad4982c4 Mon Sep 17 00:00:00 2001 From: lukasIO Date: Thu, 9 Nov 2023 15:28:00 +0200 Subject: [PATCH] Fix publish script ambiguity (#704) --- .github/workflows/release.yaml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 47d7d83b6..51a581296 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,7 +28,7 @@ jobs: uses: changesets/action@v1 with: # This expects you to have a script called release which does a build for your packages and calls changeset publish - publish: pnpm publish + publish: pnpm ci:publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index d509d7392..f305158b3 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "gen:docs:watch": "nodemon --watch \"tooling/api-documenter/src/**/*\" --watch \"packages/react/src/**/*\" --ignore \"packages/react/src/assets/**/*\" -e js,jsx,ts,tsx -x \"pnpm gen:docs\"", "lint": "turbo run lint", "preinstall": "npx only-allow pnpm", - "publish": "turbo run build --filter=./packages/* && pnpm gen:docs && pnpm publish --filter=\"./packages/*\" --filter=@livekit/components-js-docs", + "ci:publish": "turbo run build --filter=./packages/* && pnpm gen:docs && pnpm publish --filter=\"./packages/*\" --filter=@livekit/components-js-docs", "start:next": "turbo run start --filter=@livekit/component-example-next...", "test": "turbo run test", "tooling:update-readme-nav": "node tooling/readme-manager/update-nav-in-readmes.js",