mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
ead911e214
Bumps supported Node engines to `^22.22.3 || ^24.15.0`. Updates to Node 22.22.3 for development, production, GitHub workflows and in documentation.
35 lines
864 B
YAML
35 lines
864 B
YAML
name: eslint
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- dev
|
|
- release/*
|
|
paths:
|
|
- '**.html'
|
|
- '**.js'
|
|
- '**.ts'
|
|
|
|
jobs:
|
|
eslint:
|
|
name: eslint
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
checks: write
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
|
|
with:
|
|
node-version: '22.22.3'
|
|
package-manager-cache: false
|
|
cache: npm
|
|
cache-dependency-path: frontend/package-lock.json
|
|
- uses: reviewdog/action-eslint@556a3fdaf8b4201d4d74d406013386aa4f7dab96 # v1
|
|
with:
|
|
reporter: github-pr-check
|
|
workdir: 'frontend/'
|
|
eslint_flags: 'src/'
|