Skip to content

Commit

Permalink
feat: added Github action for lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Aliaksei authored and Aliaksei committed Nov 12, 2024
1 parent f06a7a9 commit b843bab
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Lint

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Set Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x

- name: Install dependencies
run: npm ci

- name: Lint
run: npm run lint

0 comments on commit b843bab

Please sign in to comment.