Skip to content

chore(build): Disable ESLint plugin in build scripts. #167

chore(build): Disable ESLint plugin in build scripts.

chore(build): Disable ESLint plugin in build scripts. #167

Workflow file for this run

name: "lint"
on:
pull_request:
types:
- "opened"
- "reopened"
- "synchronize"
push:
schedule:
# Run at midnight UTC every day with 15 minutes delay added to avoid high load periods
- cron: "15 0 * * *"
workflow_dispatch:
permissions:
# So the workflow can cancel in-progress jobs
actions: "write"
concurrency:
group: "${{github.workflow}}-${{github.ref}}"
# Cancel in-progress jobs for efficiency
cancel-in-progress: true
jobs:
lint-check:
runs-on: "ubuntu-latest"
permissions:
# So `eslint-annotate-action` can create / update status checks
checks: "write"
# So `eslint-annotate-action` can get pull request files
contents: "read"
steps:
- uses: "actions/checkout@v4"
with:
submodules: "recursive"
- uses: "actions/setup-node@v4"
with:
node-version: 22
- run: "npm --prefix client/ clean-install"
- run: "npm --prefix client/ run lint:check"