Botanique/.forgejo/workflows/pr-lint-format.yml
Mylloon b2b0a1b3d7
All checks were successful
Lint and Format Check / lint-and-format (pull_request) Successful in 10s
add pr types
2024-09-04 10:04:36 +02:00

23 lines
402 B
YAML

name: Lint and Format Check
on:
pull_request:
types: [opened, synchronize, reopened]
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