Repository navigation
docs: complete onboarding, playback position, and implementation handoff #29
This file contains hidden or 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: 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 |