Skip to content

build(deps-dev): bump eslint from 8.57.1 to 9.15.0 in /website #2930

build(deps-dev): bump eslint from 8.57.1 to 9.15.0 in /website

build(deps-dev): bump eslint from 8.57.1 to 9.15.0 in /website #2930

Workflow file for this run

name: lint
on:
pull_request:
push:
branches: [ master ]
workflow_dispatch:
env:
NODE_VERSION: 20.x
jobs:
lint-js:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: npm-linux-${{ hashFiles('package-lock.json') }}
restore-keys: npm-linux-
- name: Install ESLint + ESLint configs/plugins
run: npm install --only=dev
- name: Lint JS files
run: npm run lint:code
- name: Lint JS snippets in docs
run: npm run lint:docs
- name: Lint Tests
run: npm run lint:tests
- name: Lint Typings
run: npm run lint:typings