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

27 lines
435 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
2024-12-14 11:51:25 +01:00
run: npm run test