build(deps-dev): bump lint-staged from 15.3.0 to 15.4.1 #8262
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint project files | |
on: | |
pull_request: | |
types: | |
- ready_for_review | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
eslint: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
contents: read | |
id-token: write | |
checks: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup node and install deps | |
uses: ./.github/workflows/actions/node-setup | |
- name: Build project | |
run: pnpm build | |
- name: Save Code Linting Report JSON | |
run: pnpm lint:report | |
continue-on-error: true | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: eslint-report.log.json | |
path: eslint-report.log.json | |
- name: Annotate Code Linting Results | |
uses: ataylorme/eslint-annotate-action@v2 | |
with: | |
repo-token: "${{ github.token }}" | |
report-json: "eslint-report.log.json" | |
markdown-report-on-step-summary: true |