Repository navigation
chore: update Node.js versions (#4510) #223
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: E2E tests | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| e2e: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - name: Use Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version-file: ".node-version" | |
| - name: yarn install | |
| run: | | |
| # Node 26 no longer bundles Corepack, so install it - pinned for a reproducible package manager | |
| npm install -g corepack@0.36.0 --force | |
| # try and avoid timeout errors | |
| yarn config set httpTimeout 100000 | |
| yarn install --immutable | |
| - name: build webui | |
| run: | | |
| yarn workspace @companion-app/webui build | |
| - name: install browser | |
| run: | | |
| yarn playwright install --with-deps chromium | |
| - name: run e2e tests | |
| run: | | |
| yarn test:e2e | |
| - name: upload playwright report | |
| if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: playwright-report | |
| path: | | |
| e2e/playwright-report/ | |
| e2e/test-results/ | |
| if-no-files-found: ignore | |
| retention-days: 7 |