Skip to content

feat: v1

feat: v1 #1

Workflow file for this run

name: Linting
on:
pull_request:
branches:
- '**'
permissions:
contents: read
jobs:
eslint:
name: ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
- name: Install Dependencies
id: install
run: npm ci
- name: Lint
id: lint
run: |
npm exec eslint --max-warnings=0
editorconfig:
name: Lint Editor Config
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
- name: Install Dependencies
id: install
run: npm ci
- name: Lint
id: lint
run: npm exec ec -- -config .editorconfig-checker