Skip to content

ci: replace github linter by local eslint command #103

ci: replace github linter by local eslint command

ci: replace github linter by local eslint command #103

Workflow file for this run

name: Lint
on:
push:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install NodeJS
uses: actions/setup-node@v2

Check failure on line 19 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
with:
node-version: ${{ env.NODE_VERSION }}
- name: Code Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: npm ci
- name: Code Linting
run: npm run lint