Bump @typescript-eslint/eslint-plugin from 5.60.1 to 6.9.1 #597
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: npm test | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
[ | |
"*.ts", | |
"jest.config.js?(on)", | |
"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 |