Skip to content

Commit

Permalink
fix: ReactSDK publish-next affected workspaces (#872)
Browse files Browse the repository at this point in the history
## Related Issues

Fixes descope/etc#8715

## Description
Fix ReactSDK publish-next workflow

---------

Co-authored-by: tomski747 <[email protected]>
  • Loading branch information
tomski747 and tomski747 authored Dec 24, 2024
1 parent 5b1c3f3 commit f6c19b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-next-react-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
- fix/react-sdk-next

env:
NODE_VERSION: 18.10.0
Expand Down Expand Up @@ -49,7 +48,7 @@ jobs:
- name: Check if should run
id: 'check'
run: |
if $(npx nx show projects --affected --plain | grep -q "react-sdk"); then
if $(npx nx show projects --affected --plain | grep -q "react-sdk\|web-component"); then
echo "run=true" >> $GITHUB_OUTPUT
else
echo "run=false" >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion packages/sdks/react-sdk/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export type DescopeProps = {
tenant?: string;
// If theme is not provided - the OS theme will be used
theme?: ThemeOptions;
// If locale is not provided - the browser's locale will be used
// Unless locale is provided - the browser's locale will be used
locale?: string;
autoFocus?: AutoFocusOptions;
validateOnBlur?: boolean;
Expand Down

0 comments on commit f6c19b5

Please sign in to comment.