Skip to content

docs: complete onboarding, playback position, and implementation handoff #29

docs: complete onboarding, playback position, and implementation handoff

docs: complete onboarding, playback position, and implementation handoff #29

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- run: npm ci
- run: npm run check
- run: sudo apt-get install -y ffmpeg
- run: node scripts/fixtures.mjs
- run: npm test
- run: node --expose-gc scripts/benchmark.mjs
- run: npm run build
- uses: actions/upload-artifact@v4
with:
name: static-site
path: dist
browser:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- run: npm install --no-save --package-lock=false playwright@1.63.0 axe-core@4.10.3
- run: npx playwright install --with-deps chromium firefox webkit
- name: Start virtual audio device
run: |
sudo apt-get install -y pulseaudio
pulseaudio --start --exit-idle-time=-1
pactl load-module module-null-sink sink_name=sigint_test_sink
pactl set-default-sink sigint_test_sink
- run: sudo apt-get install -y ffmpeg
- run: node scripts/fixtures.mjs
- run: npm run test:browser
safari:
runs-on: macos-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- run: brew install ffmpeg
- run: node scripts/fixtures.mjs
- run: sudo safaridriver --enable
- run: python3 tests/safari.py