Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

ci: disable linting openapi json #52

ci: disable linting openapi json

ci: disable linting openapi json #52

Workflow file for this run

name: Continuous Integration > ESLint
on:
pull_request:
push:
branches: [main, dev]
permissions:
contents: read
pull-requests: write
jobs:
run-eslint:
name: Check linting + formatting with ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node env 🏗
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
check-latest: true
cache: npm
- name: Install dependencies 👨🏻‍💻
run: npm ci --prefer-offline --no-audit
- name: Run linting 🧹
run: npm run lint -- --output-file lint-report.json --format json
continue-on-error: ${{ github.event_name == 'pull_request' }}
- name: Annotate ESLint results 📝
if: ${{ github.event_name == 'pull_request' }}
uses: ataylorme/eslint-annotate-action@v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
report-json: lint-report.json