2020-02-14 13:35:02 +03:00
|
|
|
name: Test Suite
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2020-03-26 12:46:05 +03:00
|
|
|
- 'renovate/*'
|
2020-02-14 13:35:02 +03:00
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
2020-03-26 12:46:05 +03:00
|
|
|
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
|
2020-02-14 13:35:02 +03:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
browser: [ 'Firefox', 'Chrome' ]
|
|
|
|
name: ${{ matrix.browser }}
|
|
|
|
env:
|
|
|
|
MOZ_HEADLESS: 1
|
|
|
|
JOBS: 1
|
|
|
|
CI: true
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-04-06 13:35:51 +03:00
|
|
|
- uses: actions/setup-node@v1
|
|
|
|
with:
|
|
|
|
node-version: 10
|
2020-02-14 13:35:02 +03:00
|
|
|
- run: yarn
|
|
|
|
- run: yarn lint:js
|
|
|
|
- run: yarn test
|
|
|
|
env:
|
|
|
|
BROWSER: ${{ matrix.browser }}
|