Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

chore(deps): update github/codeql-action action to v3 #8323

chore(deps): update github/codeql-action action to v3

chore(deps): update github/codeql-action action to v3 #8323

Workflow file for this run

name: Linting
on:
push:
pull_request:
jobs:
eslint:
name: ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Set up node
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: "18.x"
- name: Restore cached modules
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3
id: cache-packages
with:
path: node_modules
key: npm-${{ hashFiles('**/package-lock.json') }}
- name: Fallback if module cache fails
run: npm ci
if: steps.cache-packages.outputs.cache-hit != 'true'
- name: Run ESLint
run: npm run lint