-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into screenshare-audio
- Loading branch information
Showing
90 changed files
with
1,575 additions
and
565 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
**/node_modules/ | ||
**/dist/ | ||
**/.env* | ||
**/.DS_Store | ||
.yarn/* | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions | ||
.github/ | ||
.readme-assets/ | ||
sample-apps/** | ||
!sample-apps/react/egress-composite/ | ||
packages/react-native-sdk/ | ||
sample-apps/react/egress-composite/tests/ | ||
.styles/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,21 +54,24 @@ jobs: | |
VITE_STREAM_USER_TOKEN: ${{ secrets.EGRESS_USER_TOKEN }} | ||
VITE_STREAM_KEY: ${{ vars.STREAM_API_KEY_SAMPLE_APPS }} | ||
VITE_STREAM_SECRET: ${{ secrets.STREAM_SECRET_SAMPLE_APPS }} | ||
VITE_EGRESS_SENTRY_DNS: ${{ secrets.EGRESS_SENTRY_DNS }} | ||
VITE_VIDEO_DEMO_SENTRY_DNS: ${{secrets.VIDEO_DEMO_SENTRY_DNS}} | ||
VITE_TOKEN_PROVIDER_URL: ${{secrets.TOKEN_PROVIDER_URL}} | ||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
PRONTO_SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
EGRESS_SENTRY_AUTH_TOKEN: ${{ secrets.EGRESS_SENTRY_AUTH_TOKEN }} | ||
MODE: ${{ github.ref_name == 'main' && 'production' || 'preview' }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# - uses: dorny/[email protected] | ||
# id: changes | ||
# with: | ||
# filters: | | ||
# sample-apps: | ||
# - 'sample-apps/react/${{ matrix.application.folder || matrix.application.name }}/**/*' | ||
# - uses: dorny/[email protected] | ||
# id: changes | ||
# with: | ||
# filters: | | ||
# sample-apps: | ||
# - 'sample-apps/react/${{ matrix.application.folder || matrix.application.name }}/**/*' | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ env: | |
|
||
jobs: | ||
test: | ||
timeout-minutes: 15 | ||
timeout-minutes: 20 | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
@@ -58,6 +58,20 @@ jobs: | |
- name: Install Playwright system dependencies (always) | ||
run: npx playwright install-deps | ||
|
||
# - name: Authenticate stream-video-buddy | ||
# uses: nick-fields/[email protected] | ||
# with: | ||
# timeout_minutes: 5 | ||
# max_attempts: 2 | ||
# command: yarn workspace @stream-io/egress-composite buddy auth | ||
|
||
- name: Run Playwright tests | ||
working-directory: sample-apps/react/egress-composite | ||
run: yarn buddy auth && yarn test:e2e | ||
run: yarn workspace @stream-io/egress-composite test:e2e | ||
|
||
- name: Upload test results | ||
uses: actions/upload-artifact@v3 | ||
if: always() | ||
with: | ||
name: test-results | ||
path: sample-apps/react/egress-composite/test-results/ | ||
retention-days: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
FROM node:20-alpine as packager | ||
WORKDIR /e2e | ||
|
||
COPY sample-apps/ sample-apps/ | ||
RUN find sample-apps \! -name "package.json" -mindepth 3 -maxdepth 3 -print | xargs rm -rf | ||
|
||
COPY packages/ packages/ | ||
RUN find packages \! -name "package.json" -mindepth 2 -maxdepth 2 -print | xargs rm -rf | ||
|
||
FROM node:20-bullseye as runner | ||
WORKDIR /e2e | ||
|
||
COPY .yarn/ ./.yarn/ | ||
COPY yarn.lock package.json .yarnrc.yml tsconfig.json ./ | ||
COPY --from=packager /e2e/packages ./packages | ||
COPY --from=packager /e2e/sample-apps ./sample-apps | ||
|
||
RUN yarn install | ||
|
||
RUN npx playwright install chromium | ||
RUN npx playwright install-deps | ||
|
||
# Copy all sources next | ||
COPY ./packages ./packages | ||
RUN yarn build:react:deps | ||
|
||
COPY ./sample-apps/ ./sample-apps/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# this compose file exists to generate screenshots | ||
# for the CI to compare against, replace key and token with your own before running | ||
# docker compose up, each change to the sources (not including tests) requires image rebuild | ||
# https://github.com/microsoft/playwright/issues/8161 | ||
|
||
services: | ||
generate-screenshots: | ||
build: ./ | ||
command: > | ||
yarn workspace @stream-io/egress-composite run test:e2e | ||
-u | ||
--timeout 5000 | ||
volumes: | ||
- ./sample-apps/react/egress-composite/tests/:/e2e/sample-apps/react/egress-composite/tests/ | ||
environment: | ||
VITE_STREAM_API_KEY: <key> | ||
VITE_STREAM_USER_TOKEN: <token> | ||
CI: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...s/docs/reactnative/common-content/ui-components/call/call-content/landscape.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Applies the landscape mode styles to the component. | ||
|
||
| Type | | ||
| ------------------------ | | ||
| `boolean` \| `undefined` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@stream-io/video-react-native-sdk", | ||
"version": "0.0.27", | ||
"version": "0.0.28", | ||
"packageManager": "[email protected]", | ||
"main": "dist/commonjs/index.js", | ||
"module": "dist/module/index.js", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.