Skip to content

Bump eslint from 8.48.0 to 8.55.0 #716

Bump eslint from 8.48.0 to 8.55.0

Bump eslint from 8.48.0 to 8.55.0 #716

Workflow file for this run

name: npm test
on:
push:
branches: ["main"]
paths:
[
"**.ts",
"jest.config.js*",
"package-lock.json",
".github/workflows/npm-test.yml",
]
pull_request:
branches: ["main", "dev"]
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
version: [lts/*, latest]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup node.js @ ${{ matrix.version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
- name: Cache node_modules
id: cache
uses: actions/cache@v3
with:
path: ./node_modules
key: ${{ runner.os }}-${{ matrix.version }}-build-node-modules-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
run: npm ci
- name: Run tests
run: npm test