-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
82 changed files
with
3,902 additions
and
3,483 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,6 @@ | ||
# テストに利用する Sora の Signaling URL を指定してください | ||
VITE_SORA_SIGNALING_URL=ws://127.0.0.1:5000/signaling | ||
# テストに利用する Sora の ChannelID のプレフィックスを指定してください | ||
VITE_SORA_CHANNEL_ID_PREFIX=sora-js-sdk-e2e-test_ | ||
# テストに利用するアクセストークンを指定してください、不要であれば何の値でも問題ありません | ||
VITE_ACCESS_TOKEN=access_token |
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,11 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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,66 @@ | ||
name: e2e-test | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
- feature/* | ||
paths-ignore: | ||
- "**.md" | ||
- "LICENSE" | ||
- "NOTICE" | ||
schedule: | ||
# UTC 時間で毎日 2:00 (JST で 11:00) に実行、月曜日から金曜日 | ||
- cron: "0 2 * * 1-5" | ||
|
||
jobs: | ||
e2e-test: | ||
timeout-minutes: 20 | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
# node: ["18", "20", "22"] | ||
node: ["20"] | ||
# browser: ["chromium", "firefox", "webkit"] | ||
browser: ["chromium"] | ||
env: | ||
VITE_SORA_SIGNALING_URL: ${{ secrets.TEST_SIGNALING_URL }} | ||
VITE_SORA_CHANNEL_ID_PREFIX: ${{ secrets.TEST_CHANNEL_ID_PREFIX }} | ||
VITE_ACCESS_TOKEN: ${{ secrets.TEST_SECRET_KEY }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- uses: pnpm/action-setup@v4 | ||
- run: pnpm --version | ||
- run: pnpm install | ||
- run: pnpm run build | ||
- run: pnpm exec playwright install ${{ matrix.browser }} --with-deps | ||
- run: pnpm exec playwright test --project=${{ matrix.browser }} | ||
env: | ||
VITE_SORA_CHANNEL_ID_SUFFIX: _${{ matrix.node }} | ||
# - uses: actions/upload-artifact@v4 | ||
# if: always() | ||
# with: | ||
# name: playwright-report | ||
# path: playwright-report/ | ||
# retention-days: 30 | ||
- name: Slack Notification | ||
if: success() | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
SLACK_CHANNEL: sora-js-sdk | ||
SLACK_COLOR: good | ||
SLACK_TITLE: Succeeded | ||
SLACK_ICON_EMOJI: ":star-struck:" | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | ||
- name: Slack Notification | ||
if: failure() | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
SLACK_CHANNEL: sora-js-sdk | ||
SLACK_COLOR: danger | ||
SLACK_TITLE: Failed | ||
SLACK_ICON_EMOJI: ":japanese_ogre:" | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} |
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
Oops, something went wrong.