Skip to content

Commit

Permalink
WIP: Try Automating Code Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ITenthusiasm committed Jan 2, 2024
1 parent ebfa731 commit 71f846f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lint-code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Lint Code
on:
push:
branches: ["**"]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: "npm"
- name: "Install Dependencies"
run: npm ci
- name: "Run Linters"
run: npm run lint

0 comments on commit 71f846f

Please sign in to comment.