Skip to content

Fix test flakiness caused by Puppeteer state management #1486

Fix test flakiness caused by Puppeteer state management

Fix test flakiness caused by Puppeteer state management #1486

Workflow file for this run

name: CI
on: [pull_request, push]
jobs:
test:
name: Test on node ${{ matrix.node }} and ${{ matrix.os }}
if: github.repository == 'ampproject/amp-toolbox'
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [20, 22]
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Use node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
registry-url: https://registry.npmjs.org
- name: install
run: npm install
- name: test
run: npm test