Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Create lint.yml #18

Merged
merged 1 commit into from
Nov 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Lint

on:
pull_request:
types: [opened, synchronize]

jobs:
eslint:
runs-on: ubuntu-latest

steps:
- name: 🛎 Checkout
uses: actions/checkout@v4
- name: 🟩 Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18.18.2
cache: 'npm'
- name: 🤠 npm install
run: npm ci
- name: ✔ Lint
uses: sibiraj-s/action-eslint@v3
with:
extensions: 'ts,tsx'
annotations: true
Loading