File tree Expand file tree Collapse file tree 2 files changed +27
-39
lines changed
Expand file tree Collapse file tree 2 files changed +27
-39
lines changed Original file line number Diff line number Diff line change 4343 - name : Lint
4444 run : pnpm --filter "@radix-ui/*" lint
4545
46+ format :
47+ name : Check Formatting
48+ runs-on : ubuntu-latest
49+ steps :
50+ - name : Checkout
51+ uses : actions/checkout@v4
52+
53+ - name : CI Setup
54+ uses : ./.github/actions/ci-setup
55+
56+ - name : Run formatter
57+ run : pnpm format
58+
59+ - name : Check for changes
60+ run : |
61+ if [[ -n $(git status --porcelain) ]]; then
62+ echo "::error::Files are not properly formatted. Please run 'pnpm format' locally and commit the changes."
63+ echo ""
64+ echo "The following files need formatting:"
65+ git status --porcelain
66+ echo ""
67+ echo "Diff:"
68+ git diff
69+ exit 1
70+ fi
71+
4672 test-vr :
47- name : Visual Regression Tests
73+ name : Tests: Visual regression
4874 needs : build
4975 runs-on : macos-latest
5076 steps :
5884 uses : actions/download-artifact@v4
5985 with :
6086 name : build-output
61- path : packages
6287
6388 - name : Install Playwright Browsers
6489 run : pnpm --filter "playground" exec playwright install --with-deps
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments