mirror of
https://github.com/Queer-Lexikon/regenbogenkarte
synced 2024-09-20 14:11:54 +00:00
28 lines
553 B
YAML
28 lines
553 B
YAML
name: Code quality verification
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- "opened"
|
|
- "synchronize"
|
|
|
|
jobs:
|
|
format:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Format files
|
|
run: make format
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
name: Commit possible changes
|
|
with:
|
|
commit_message: "style: format files using prettier"
|
|
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Build the project
|
|
run: make build
|