add action
All checks were successful
Lint and Format Check / lint-and-format (pull_request) Successful in 10s

This commit is contained in:
Mylloon 2024-09-04 09:49:17 +02:00
parent fd60b91ffe
commit b7cc1565ab
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

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