Fix compatibility with latest Puppeteer version #295
Workflow file for this run
This file contains 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: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
Test: | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [16, 18, "latest"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install last npm version | |
if: ${{ matrix.node-version == 14 }} | |
run: npm install -g npm@latest | |
- run: npm ci | |
- run: npm run build | |
- run: npm run lint | |
- run: npm run test -- --ci | |
- run: npm run test:incognito -- --ci |