Skip to content

Configure ESLint with GitHub Actions #2

Configure ESLint with GitHub Actions

Configure ESLint with GitHub Actions #2

Workflow file for this run

name: ESLint Check
on:
push:
branches:
- main # Запускати на кожен push в гілку main
- master # або гілку master
- develop
pull_request:
branches:
- main
- master
- develop
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20.17'
- name: Install dependencies
run: npm install
- name: Run ESLint
run: npm run lint