Skip to content

Workflow file for this run

name: lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-latest
steps:

Check failure on line 12 in .github/workflows/lint.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint.yaml

Invalid workflow file

You have an error in your yaml syntax on line 12
- name: Checkout
uses: actions/checkout@v3
- name: Use node 18.x
uses: actions/setup-node@v2
with:
node-version: 18.X
- name: Install dependencies
run: npm ci
- name: Lint
run: ESLINT_DISABLE_RULE=true npm run lint
-name: check
run: git diff --exit-code || (echo "linting issue, run 'npm run lint' to fix"&& false)