Run tests on browsers instead of PhantomJS (#7660)

* Run tests on browsers instead of PhantomJS

* Allow CI to run on pull requests
This commit is contained in:
Jon Koops
2021-09-06 21:06:31 +02:00
committed by GitHub
parent 17dc1f3fb9
commit d6d6051ac6

View File

@ -1,5 +1,5 @@
name: CI
on: push
on: [push, pull_request]
jobs:
ci:
runs-on: ubuntu-latest
@ -12,5 +12,5 @@ jobs:
cache: npm
- run: npm ci
- run: npm run lint
- run: npm test -- -- --browsers PhantomJSCustom,Chrome1280x1024,FirefoxPointer,FirefoxTouch,FirefoxPointerTouch --reporters
- run: npm test -- --browsers PhantomJSCustom,Chrome1280x1024,FirefoxPointer,FirefoxTouch,FirefoxPointerTouch
- run: npm run build