Skip to content

Bump the npm_and_yarn group across 1 directory with 3 updates #380

Bump the npm_and_yarn group across 1 directory with 3 updates

Bump the npm_and_yarn group across 1 directory with 3 updates #380

Workflow file for this run

name: Run ESLint
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.10.0
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@v4
with:
key: cache-node-modules-${{ hashFiles('package-lock.json') }}
path: node_modules
- if: steps.cache-node-modules.outputs.cache-hit != 'true'
name: Установка зависимостей npm
shell: bash
run: npm ci
- name: Run ESLint
shell: bash
run: npm run check:eslint