Skip to content

Migrate ESLint to use new flat config (Fixes #42) #58

Migrate ESLint to use new flat config (Fixes #42)

Migrate ESLint to use new flat config (Fixes #42) #58

Workflow file for this run

name: "CI"
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-20.04 # Using pinned version instead of -latest until https://github.com/actions/runner-images/issues/6704 is resolved.
name: 'Test'
steps:
- name: 'Ensure a recent Firefox and the xvfb framebuffer are installed'
run: |
sudo apt-get update
sudo apt-get install xvfb firefox
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: 'Install NPM deps'
run: npm install
- name: 'Run JS tests in headless mode, thanks to xvfb'
run: xvfb-run npm test