Skip to content

Commit

Permalink
create auto linter workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sulphite committed Apr 16, 2024
1 parent e34f52f commit 51ba161
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: linter
on:
pull-request:

jobs:
eslint:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v3

- name: setup node
uses: actions/setup-node@v3
with:
node-version: "20.x"

- name: install dependencies
run: npm install

- name: run eslint
run: npm run lint

0 comments on commit 51ba161

Please sign in to comment.