Skip to content

Commit

Permalink
ci: add linter (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
aoirint authored Sep 23, 2023
1 parent c1642c6 commit f0778cc
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Lint

on:
push:
pull_request:
branches:
- "**"
workflow_dispatch:

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "20"
cache: "npm"

- name: Install Dependencies
shell: bash
run: npm ci

- name: Run lint
shell: bash
run: npm run lint

0 comments on commit f0778cc

Please sign in to comment.