diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index e6ffc9c..71f4acf 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -71,14 +71,13 @@ jobs: working-directory: ./packages/pointer-events run: pnpm publish --access public --no-git-checks --tag alpha - -# - id: check-handle-vanilla -# uses: PostHog/check-package-version@v2 -# with: -# path: ./packages/handle/ + - id: check-handle-vanilla + uses: PostHog/check-package-version@v2 + with: + path: ./packages/handle/ - name: Deploy Handle Vanilla Package -# if: steps.check-handle-vanilla.outputs.is-new-version == 'true' + if: steps.check-handle-vanilla.outputs.is-new-version == 'true' working-directory: ./packages/handle run: pnpm publish --access public --no-git-checks --tag alpha @@ -92,13 +91,13 @@ jobs: working-directory: ./packages/xr run: pnpm publish --access public --no-git-checks --tag alpha -# - id: check-handle-react -# uses: PostHog/check-package-version@v2 -# with: -# path: ./packages/react/handle/ + - id: check-handle-react + uses: PostHog/check-package-version@v2 + with: + path: ./packages/react/handle/ - name: Deploy Handle React Package -# if: steps.check-handle-react.outputs.is-new-version == 'true' + if: steps.check-handle-react.outputs.is-new-version == 'true' working-directory: ./packages/react/handle run: pnpm publish --access public --no-git-checks --tag alpha diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index f879187..8c9d6d7 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -71,6 +71,16 @@ jobs: working-directory: ./packages/pointer-events run: pnpm publish --access public --no-git-checks --tag latest + - id: check-handle-vanilla + uses: PostHog/check-package-version@v2 + with: + path: ./packages/handle/ + + - name: Deploy Handle Vanilla Package + if: steps.check-handle-vanilla.outputs.is-new-version == 'true' + working-directory: ./packages/handle + run: pnpm publish --access public --no-git-checks --tag latest + - id: check-xr-vanilla uses: PostHog/check-package-version@v2 with: @@ -81,6 +91,16 @@ jobs: working-directory: ./packages/xr run: pnpm publish --access public --no-git-checks --tag latest + - id: check-handle-react + uses: PostHog/check-package-version@v2 + with: + path: ./packages/react/handle/ + + - name: Deploy Handle React Package + if: steps.check-handle-react.outputs.is-new-version == 'true' + working-directory: ./packages/react/handle + run: pnpm publish --access public --no-git-checks --tag latest + - id: check-xr-react uses: PostHog/check-package-version@v2 with: @@ -90,3 +110,4 @@ jobs: if: steps.check-xr-react.outputs.is-new-version == 'true' working-directory: ./packages/react/xr run: pnpm publish --access public --no-git-checks --tag latest +