Skip to content

Commit

Permalink
add react-three/handle and pmndrs/handle to packages deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
bbohlender committed Jan 20, 2025
1 parent 90015e5 commit dff8c2c
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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

0 comments on commit dff8c2c

Please sign in to comment.