This repository has been archived by the owner on May 16, 2024. It is now read-only.
Handle simulcast set target track encoding #258
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: Unit tests | |
on: | |
pull_request: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: Use Node.js 16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
cache: 'yarn' | |
- name: Install node dependencies | |
run: yarn && cd example && yarn | |
- name: Run unit tests for the library | |
run: yarn test -- src/__tests__/index.test.tsx | |
- name: Run unit tests for the example app | |
run: cd example && yarn test |