name: CI on: push: branches: - main pull_request: branches: - '**' jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - name: Setup Node uses: actions/setup-node@v7 with: node-version: 24 cache: 'npm' - name: npm install run: npm ci - name: lint run: npm run lint --quiet tests: # This shouldn't take long, and if it does something bad has happened and it should be killed timeout-minutes: 10 env: COVERAGE_NODE_VERSION: 24 COVERAGE_OS: 'ubuntu-latest' runs-on: ${{ matrix.os }} strategy: matrix: node-version: [ 22, 24, 26 ] os: [ ubuntu-latest ] steps: - uses: actions/checkout@v7 - name: Setup Node.js ${{ matrix.node-version }} uses: actions/setup-node@v7 with: node-version: ${{ matrix.node-version }} cache: 'npm' - run: npm ci - run: npm run parsers - run: npm test playwright-tests: timeout-minutes: 30 runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v7 - uses: actions/setup-node@v7 with: node-version: 24 cache: 'npm' - run: npm ci - run: npm run parsers - name: Install Playwright Browsers run: npx playwright install --with-deps chromium - run: npm run test:playwright - uses: actions/upload-artifact@v7 if: failure() with: name: playwright-report path: playwright-report/ retention-days: 30