diff --git a/.github/workflows/publish-client-package.yaml b/.github/workflows/publish-client-package.yaml index b18fdb8689..e5441fbc58 100644 --- a/.github/workflows/publish-client-package.yaml +++ b/.github/workflows/publish-client-package.yaml @@ -27,10 +27,10 @@ jobs: - name: Install dependencies with pnpm run: pnpm i - working-directory: sdk/sdk-client + working-directory: sdk/sdk-client/bundle - name: Publish package with pnpm run: pnpm bundle:npm - working-directory: sdk/sdk-client + working-directory: sdk/sdk-client/bundle env: NPM_ACCESS_TOKEN: ${{ inputs.npm_access_token }} diff --git a/.github/workflows/publish-packages-manually.yaml b/.github/workflows/publish-packages-manually.yaml index 6b27cdcefd..4741c59835 100644 --- a/.github/workflows/publish-packages-manually.yaml +++ b/.github/workflows/publish-packages-manually.yaml @@ -38,14 +38,14 @@ jobs: ref: ${{ github.event.inputs.branch || github.ref_name }} - id: common-version-check run: | - if git diff HEAD^ HEAD -- sdk/sdk-common/package.json | grep '"version":'; then + if git diff HEAD^ HEAD -- sdk/sdk-common/bundle/package.json | grep '"version":'; then echo "::set-output name=changed::true" else echo "::set-output name=changed::false" fi - id: client-version-check run: | - if git diff HEAD^ HEAD -- sdk/sdk-client/package.json | grep '"version":'; then + if git diff HEAD^ HEAD -- sdk/sdk-client/bundle/package.json | grep '"version":'; then echo "::set-output name=changed::true" else echo "::set-output name=changed::false" diff --git a/.github/workflows/publish-packages.yaml b/.github/workflows/publish-packages.yaml index fbe81b31eb..12b33c92f9 100644 --- a/.github/workflows/publish-packages.yaml +++ b/.github/workflows/publish-packages.yaml @@ -9,8 +9,8 @@ on: branches: - main paths: - - 'sdk/sdk-common/package.json' - - 'sdk/sdk-client/package.json' + - 'sdk/sdk-common/bundle/package.json' + - 'sdk/sdk-client/bundle/package.json' jobs: prepare: @@ -26,14 +26,14 @@ jobs: fetch-depth: 2 - id: common-version-check run: | - if git diff HEAD^ HEAD -- sdk/sdk-common/package.json | grep '"version":'; then + if git diff HEAD^ HEAD -- sdk/sdk-common/bundle/package.json | grep '"version":'; then echo "::set-output name=changed::true" else echo "::set-output name=changed::false" fi - id: client-version-check run: | - if git diff HEAD^ HEAD -- sdk/sdk-client/package.json | grep '"version":'; then + if git diff HEAD^ HEAD -- sdk/sdk-client/bundle/package.json | grep '"version":'; then echo "::set-output name=changed::true" else echo "::set-output name=changed::false"