Skip to content

build(deps-dev): bump eslint from 8.51.0 to 8.54.0 #384

build(deps-dev): bump eslint from 8.51.0 to 8.54.0

build(deps-dev): bump eslint from 8.51.0 to 8.54.0 #384

name: Code Linting Annotation
on: [pull_request]
concurrency:
group: ci-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
eslint_annotation:
name: runner / eslint
if: (!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci'))
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
actions: write
statuses: write
checks: write
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
steps:
- uses: actions/checkout@v4.1.1
- id: get-node-version
run: |
NODE_VERSION=$(grep -oP '^node-version\s*=\s*\K.*' .npmrc | cut -d '.' -f 1-3)
echo "node-version=${NODE_VERSION}" >> "$GITHUB_OUTPUT"
- uses: actions/setup-node@v4
with:
node-version: ${{ steps.get-node-version.outputs.node-version }}
cache: "npm"
- name: Install Deps
run: npm install
- uses: xt0rted/markdownlint-problem-matcher@v2
- run: npm run lint:markdown
continue-on-error: true
- name: eslint
uses: reviewdog/action-eslint@v1.20.0
with:
reporter: github-pr-review # Change reporter.
eslint_flags: src/
github_token: ${{ secrets.GITHUB_TOKEN }}