Skip to content

[RFC] Removing spotlight features #2

[RFC] Removing spotlight features

[RFC] Removing spotlight features #2

Workflow file for this run

name: E2E Tests
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Install Puppeteer browser and system deps
run: npx puppeteer browsers install chrome
- name: Run E2E tests
run: npm test
env:
CI: true
- name: Upload test screenshots on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-screenshots-node${{ matrix.node-version }}
path: tests/e2e/screenshots/
if-no-files-found: ignore
retention-days: 7