Skip to content

Commit

Permalink
github action
Browse files Browse the repository at this point in the history
Find codes that sucks
  • Loading branch information
Ikuzweshema authored Oct 24, 2024
1 parent baa7dff commit d8b719d
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Lint code with ESLint

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
eslint-lint:
name: Run ESLint
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'


- name: Install dependencies
run: pnpm install


- name: Run ESLint
run: pnpm lint

0 comments on commit d8b719d

Please sign in to comment.