Skip to content

test: use Chrome Canary on Linux #304

test: use Chrome Canary on Linux

test: use Chrome Canary on Linux #304

Workflow file for this run

name: lint-and-test
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm install
- run: npm run eslint
- run: npm run stylelint
test:
needs: lint
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
browser: [chrome]
version: [stable]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm install
- run: sudo rm /usr/bin/chromedriver # remove preinstalled github chromedriver from $PATH
- run: Xvfb :99 &
- run: BROWSER=${{matrix.browser}} BVER=${{matrix.version}} DISPLAY=:99.0 npm run jest -- --retries=3