add action for pull requests (#152)
All checks were successful
Publish latest version / build (push) Successful in 1m26s

Closes #151

Reviewed-on: #152
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
This commit is contained in:
Mylloon 2024-09-04 09:57:53 +02:00 committed by Mylloon
parent fd60b91ffe
commit 0c617d6855
Signed by: Forgejo
GPG key ID: E72245C752A07631

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