Botanique/.forgejo/workflows/pr-check.yml
Mylloon c23b9c6c1f
Some checks failed
PR Check / lint-and-format (pull_request) Failing after 11s
clean install
2024-11-02 18:18:28 +01:00

26 lines
443 B
YAML

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