Skip to content

Commit

Permalink
add new gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
ngmachado committed Feb 11, 2024
1 parent 753b0a6 commit a412fa5
Showing 1 changed file with 25 additions and 0 deletions.
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:
branches:
- '*'

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '18'

- name: Install dependencies
run: npm ci

- name: Run ESLint
run: npx eslint .

0 comments on commit a412fa5

Please sign in to comment.