Pulling feat/news-list-cache into develop #1667
Workflow file for this run
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: Linting with eslint | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: set up node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: check out code | |
uses: actions/checkout@v4 | |
- name: install | |
run: yarn install --ignore-engines | |
- name: generate eslint report | |
run: yarn lint:out | |
- name: merge all eslint reports | |
if: ${{ failure() }} | |
run: yarn lint:merge | |
- name: Annotate Code Linting Results | |
if: ${{ failure() }} | |
uses: ataylorme/eslint-annotate-action@v2 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
report-json: "eslint_output.json" |