Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
name: ${{ matrix.name }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- pptr: 1.6.x
- pptr: 1.8.x
- pptr: 1.12.x
- pptr: 2.x.x
- pptr: 3.x.x
- pptr: 4.x.x
- pptr: 5.x.x
- pptr: 6.x.x
# We don't support these yet
# - pptr: 7.x.x
# - pptr: latest
steps:
- name: Run git checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run nvm install 14
uses: actions/setup-node@v1
with:
node-version: 14.x
- run: npm install
- run: npm install "puppeteer@${{ matrix.pptr }}"
- run: npm install "@types/puppeteer@${{ matrix.pptr }}" || echo "No types available"
- run: npm run rebuild
- run: npm run test:lint
- run: npm run test:unit --coverage --runInBand --verbose
28 changes: 0 additions & 28 deletions .travis.yml

This file was deleted.