Skip to content

update setup-node@v4 to v6 #2520

update setup-node@v4 to v6

update setup-node@v4 to v6 #2520

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# ESLint is a tool for identifying and reporting on patterns
# found in ECMAScript/JavaScript code.
# More details at https://github.com/eslint/eslint
# and https://eslint.org
name: ESLint
on:
push:
branches: [ "master" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
schedule:
- cron: '18 17 * * 4'
jobs:
eslint:
name: Run eslint scanning
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: latest
- id: node-modules-cache
uses: actions/cache@v5
with:
path: |
node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
restore-keys: node-modules-
- name: Install modules
run: npm install
- name: Run format check
run: npm run format:check
- name: Run ESLint
run: npm run lint