add action for pull requests #152

Merged
Anri merged 1 commit from pr-lint-format into main 2024-09-04 09:57:54 +02:00

View file

@ -0,0 +1,20 @@
name: Lint and Format Check
on:
pull_request:
branches: [main, dev]
jobs:
lint-and-format:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
- name: Run lint
run: npm run lint
- name: Run format check
run: npm run format-check