Botanique/.forgejo/workflows/pr-check.yml

27 lines
443 B
YAML
Raw Normal View History

name: PR 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 ci
- name: Run lint
run: npm run lint
- name: Run format check
run: npm run format-check
- name: Run tests
run: npm run test -- --ci