ci: Change workflow to check formatting

This commit is contained in:
FabianLars
2024-06-17 14:20:21 +02:00
parent 25f162fb86
commit 4e8dbe68dc
3 changed files with 15 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# Adapted from https://github.com/withastro/starlight/blob/main/.github/workflows/format.yml
name: Format on PR
name: Check formatting
on:
pull_request:
@@ -23,4 +23,4 @@ jobs:
- run: pnpm i
- name: Format with Prettier
run: pnpm format
run: pnpm format:check