Skip to content

Commit

Permalink
ci(lint): create first github actions workflow for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
charles4221 committed Jan 10, 2024
1 parent cef2768 commit 9c7cc9c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
push:
branches:
- main
- release/*
jobs:
lint:
name: Lint Code
runs-on: ubuntu-latest
steps:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 20

- name: Install Node Dependencies
run: npm install

- name: Lint Code with ESLint
run: npm run lint

0 comments on commit 9c7cc9c

Please sign in to comment.