Skip to content

feat/link-and-eslint-sort-plugin #3

feat/link-and-eslint-sort-plugin

feat/link-and-eslint-sort-plugin #3

Workflow file for this run

name: 'CI — Lint'
on:
push:
branches:
- 'main'
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
fail-fast: false
name: Check
steps:
- name: ➕ Actions - Checkout
uses: actions/checkout@v4
- name: ➕ Actions - Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: ➕ Cache dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: npm-linux-${{ hashFiles('package-lock.json') }}
restore-keys: npm-linux-
- name: 📦 Installing Dependencies
run: npm ci --force
- name: 👔 ESLint + Prettier Check
run: npm run lint && npm run format:check