Add the ability to use livekit tracks in custom apps #4384
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: Continuous Integration | |
on: | |
push: | |
branches-ignore: | |
- 'master' | |
- 'staging' | |
tags-ignore: | |
- '**' | |
pull_request: | |
branches-ignore: | |
- 'master' | |
- 'staging' | |
tags-ignore: | |
- '**' | |
jobs: | |
test: | |
name: Test | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest, windows-latest] | |
node-version: [16.x] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
# For Node-Gyp | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
# Semantic version range syntax or exact version of a Python version | |
python-version: '3.11' | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Fix node-gyp (Windows Only) | |
if: matrix.os == 'windows-latest' | |
shell: pwsh | |
run: | | |
npm install -g node-gyp | |
npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"} | |
- name: npm install and test | |
run: | | |
npm ci | |
npm run bootstrap | |
npx --node-options="--max_old_space_size=4096" jest --detectOpenHandles --forceExit --no-cache | |
env: | |
CI: true | |
build: | |
name: Build AUX | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest, windows-latest] | |
node-version: [16.x] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
# For Node-Gyp | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
# Semantic version range syntax or exact version of a Python version | |
python-version: '3.11' | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Fix node-gyp (Windows Only) | |
if: matrix.os == 'windows-latest' | |
shell: pwsh | |
run: | | |
npm install -g node-gyp | |
npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"} | |
- name: npm install and build | |
run: | | |
npm ci | |
npm run bootstrap | |
npm run build | |
env: | |
CI: true | |
docs: | |
name: Build Docs | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest, windows-latest] | |
node-version: [16.x] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
# For Node-Gyp | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
# Semantic version range syntax or exact version of a Python version | |
python-version: '3.11' | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Fix node-gyp (Windows Only) | |
if: matrix.os == 'windows-latest' | |
shell: pwsh | |
run: | | |
npm install -g node-gyp | |
npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"} | |
- name: npm install | |
run: | | |
npm ci | |
npm run bootstrap | |
env: | |
CI: true | |
- name: yarn install and build docs | |
run: | | |
cd docs | |
yarn install --network-timeout 1000000 | |
yarn build | |
env: | |
CI: true |