name: Test Suite
on:
  pull_request:
  push:
    branches:
      - master
      - 'renovate/*'
jobs:
  test:
    runs-on: ubuntu-latest
    container: node:10
    if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
    strategy:
      matrix:
        browser: [ 'Firefox', 'Chrome' ]
    name: ${{ matrix.browser }}
    env:
      MOZ_HEADLESS: 1
      JOBS: 1
      CI: true
    steps:
      - uses: actions/checkout@v2
      - run: yarn
      - run: yarn lint:js
      - run: yarn test
        env:
          BROWSER: ${{ matrix.browser }}

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

Revert "Switched to Node.js container in Action"
Revert "Switched to Node.js container in Action"

- this reverts commit e4df8e15c20c856d6a9e4eff5264e81afbe3ede4.
- the tests require more components than Node, which the container
  doesn't have
