Skip to content

Run snapshot tests in parallel #53

Run snapshot tests in parallel

Run snapshot tests in parallel #53

Workflow file for this run

name: Format Check
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
format:
name: Check Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: CI Setup
uses: ./.github/actions/ci-setup
- name: Run formatter
run: pnpm format
- name: Check for changes
run: |
if [[ -n $(git status --porcelain) ]]; then
echo "::error::Files are not properly formatted. Please run 'pnpm format' locally and commit the changes."
echo ""
echo "The following files need formatting:"
git status --porcelain
echo ""
echo "Diff:"
git diff
exit 1
fi