Skip to content

Bump eslint from 8.55.0 to 8.56.0 #518

Bump eslint from 8.55.0 to 8.56.0

Bump eslint from 8.55.0 to 8.56.0 #518

Workflow file for this run

name: NPM Tests
on:
push:
pull_request:
workflow_dispatch:
jobs:
test:
name: test - ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
fail-fast: false # don't cancel when one matrix job fails, so we can compare to the others
runs-on: ${{ matrix.os }}
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Cache npm
uses: actions/cache@v3
with:
path: .npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install NPM dependencies
run: npm ci --cache .npm --prefer-offline
- name: Run tests (headless - non-ubuntu)
if: "!startsWith(matrix.os, 'ubuntu')"
run: npm test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run tests (headless - ubuntu only)
if: startsWith(matrix.os, 'ubuntu')
run: xvfb-run -a npm test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}