Skip to content

Commit

Permalink
Merge pull request #212 from SuperViz/lab
Browse files Browse the repository at this point in the history
January update #3
  • Loading branch information
carlossantos74 authored Jan 20, 2025
2 parents 83aa11e + f6106b9 commit 24b238e
Show file tree
Hide file tree
Showing 107 changed files with 2,141 additions and 127 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-packages.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,16 @@ jobs:
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Check for changes in React SDK and dependencies
id: check_react_and_dependencies_changes
id: check_react_sdk_and_dependencies_changes
run: |
git diff --quiet HEAD^ HEAD -- packages/react ':(exclude)packages/react/package.json' || echo "react_changed=true" >> $GITHUB_OUTPUT
git diff --quiet HEAD^ HEAD -- packages/react-sdk ':(exclude)packages/react-sdk/package.json' || echo "react_changed=true" >> $GITHUB_OUTPUT
git diff --quiet HEAD^ HEAD -- packages/sdk ':(exclude)packages/sdk/package.json' || echo "react_changed=true" >> $GITHUB_OUTPUT
git diff --quiet HEAD^ HEAD -- packages/autodesk ':(exclude)packages/autodesk/package.json' || echo "react_changed=true" >> $GITHUB_OUTPUT
git diff --quiet HEAD^ HEAD -- packages/matterport ':(exclude)packages/matterport/package.json' || echo "react_changed=true" >> $GITHUB_OUTPUT
git diff --quiet HEAD^ HEAD -- packages/three ':(exclude)packages/three/package.json' || echo "react_changed=true" >> $GITHUB_OUTPUT
git diff --quiet HEAD^ HEAD -- packages/yjs ':(exclude)packages/yjs/package.json' || echo "react_changed=true" >> $GITHUB_OUTPUT
- name: Publish react package
if: steps.check_react_and_dependencies_changes.outputs.react_changed == 'true'
- name: Publish React SDK package
if: steps.check_react_sdk_and_dependencies_changes.outputs.react_changed == 'true'
run: npm whoami && pnpm run semantic-release --filter=@superviz/react-sdk
env:
NPM_CONFIG_USERCONFIG: .npmrc.ci
Expand Down
Loading

0 comments on commit 24b238e

Please sign in to comment.