Skip to content

Feature/5 build cicd pipeline #5

Feature/5 build cicd pipeline

Feature/5 build cicd pipeline #5

Workflow file for this run

name: Lint
on:
pull_request:
branches:
- main
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 20
# ESLint and Prettier must be in `package.json`
- name: Install Node.js dependencies
run: npm ci
- name: Run linters
uses: wearerequired/lint-action@v2
with:
eslint: false
prettier: true
- name: Run ESLint
run: npx eslint .