Files
NodecastV2/.github/workflows/test.yml

29 lines
620 B
YAML

name: Regression Tests
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
remux:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: 24
cache: npm
- name: Install FFmpeg
run: sudo apt-get update && sudo apt-get install -y ffmpeg
- run: npm ci
- name: Install browser for subtitle regression tests
run: npx playwright install --with-deps chromium
- run: npm test
env:
NODECAST_BROWSER_TESTS: '1'