regenbogenkarte/.github/workflows/pr.yml
nachtjasmin e98c3de747
chore: initial fork of the closed-source project
This commit includes all data from the current map, excluding:

- the actual data
- the deployment script to the server

We've added a comprehensive README for newcomers, so that they can
understand what's going on.

Co-authored-by: xenia <xhartmann@posteo.de>
2022-09-04 10:28:56 +02:00

34 lines
686 B
YAML

name: Code quality verification
on:
pull_request:
types:
- "opened"
- "synchronize"
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: npm ci
- name: Format files using prettier
run: npm run 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@v2
- name: Install dependencies
run: npm ci
- name: Build the project
run: npm run build