CF & Video SDKs: Allow user to update media with renegotiation #1698
Workflow file for this run
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
name: Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main, dev] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
tests: | |
name: Run unit and stack tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install deps | |
uses: ./.github/actions/install | |
with: | |
NODE_VERSION: ${{ matrix.node-version }} | |
- name: Build SDKs | |
uses: ./.github/actions/build | |
with: | |
NODE_VERSION: ${{ matrix.node-version }} | |
- name: Unit Tests | |
run: npm test | |
- name: Stack Tests | |
run: npm run -w=@sw-internal/stack-tests dev | |
env: | |
RELAY_HOST: ${{ secrets.RELAY_HOST }} | |
RELAY_PROJECT: ${{ secrets.RELAY_PROJECT }} | |
RELAY_TOKEN: ${{ secrets.RELAY_TOKEN }} | |
run-browser-js-staging: | |
name: Browser SDK staging | |
needs: tests | |
uses: ./.github/workflows/browser-js-staging.yml | |
secrets: inherit | |
run-browser-js-production: | |
name: Browser SDK production | |
needs: tests | |
uses: ./.github/workflows/browser-js-production.yml | |
secrets: inherit | |
run-realtime-api-staging: | |
name: RealtimeAPI SDK staging | |
needs: tests | |
uses: ./.github/workflows/realtime-api-staging.yml | |
secrets: inherit | |
run-realtime-api-production: | |
name: RealtimeAPI SDK production | |
needs: tests | |
uses: ./.github/workflows/realtime-api-production.yml | |
secrets: inherit |