Skip to content

deps: upgrade to latest browser libraries #273

deps: upgrade to latest browser libraries

deps: upgrade to latest browser libraries #273

Workflow file for this run

name: CI
on:
push:
branches: main
pull_request:
branches: main
jobs:
test-firefox:
name: Firefox Browser Tests
runs-on: windows-latest
strategy:
matrix:
firefox: ['89.0']
steps:
- uses: actions/checkout@v2
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Setup Firefox ${{ matrix.firefox }}
uses: browser-actions/setup-firefox@latest
with:
firefox-version: ${{ matrix.firefox }}
- run: npm ci
- name: Setup Chomp
uses: guybedford/chomp-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: chomp test
env:
CI_BROWSER: C:\Program Files\Firefox_${{ matrix.firefox }}\firefox.exe
CI_BROWSER_FLAGS: -headless
test-chrome:
name: Chrome Browser Tests
runs-on: windows-latest
strategy:
matrix:
chrome: [
'913920', # August 2021
]
steps:
- uses: actions/checkout@v2
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Setup Chrome ${{ matrix.chrome }}
uses: browser-actions/setup-chrome@latest
with:
chrome-version: ${{ matrix.chrome }}
- name: Set Chrome Path
run: $env:CI_BROWSER=$(where chrome)
- run: echo $env:CI_BROWSER
- run: npm ci
- name: Setup Chomp
uses: guybedford/chomp-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: chomp test
env:
CI_BROWSER_FLAGS: --headless --screenshot