Let Plus devices share a short restore code or QR #223
Workflow file for this run
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] | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| test: | |
| name: Lint, unit, e2e | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| # remix@3.0.0-beta.5 requires Node >=24.3.0. | |
| node-version: 24 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Lint / typecheck | |
| run: npm run lint | |
| # Vitest runs in browser mode (real Chromium), so the browser must be | |
| # installed before the unit tests too, not just the e2e suite. | |
| - name: Install Playwright Chromium | |
| run: npx playwright install --with-deps chromium | |
| - name: Unit tests | |
| run: npm test | |
| # The preview-audio e2e tests need a running audio server: without an | |
| # output device Chromium keeps realtime AudioContexts suspended and the | |
| # music-normalization assertions never see their gains apply. | |
| - name: Start PulseAudio (null sink) | |
| run: | | |
| sudo apt-get update -qq | |
| sudo apt-get install -y -qq pulseaudio | |
| pulseaudio --start --exit-idle-time=-1 | |
| - name: E2E tests | |
| run: npm run test:e2e | |
| - name: Upload Playwright traces on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: playwright-test-results | |
| path: test-results/ | |
| retention-days: 7 |