Skip to content

Commit d250225

Browse files
committed
ci(e2e): tolerate vp fmt failure for bun-vite-template
oxfmt 0.57.0 (oxc-css-parser, oxc-project/oxc#23920) rejects mantine's postcss-simple-vars syntax in CSS Modules. Allow vp fmt to fail until postcss-simple-vars is supported.
1 parent 243bcd0 commit d250225

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/e2e-test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,12 @@ jobs:
326326
- name: bun-vite-template
327327
node-version: 24
328328
command: |
329-
vp fmt
329+
# FIXME: mantine uses postcss-simple-vars (e.g. `@media (max-width:
330+
# $mantine-breakpoint-md)` in src/components/Welcome/Welcome.module.css),
331+
# which oxfmt's CSS parser does not support yet (regressed in oxfmt 0.57.0
332+
# after the switch to oxc-css-parser, oxc-project/oxc#23920). Resume once
333+
# postcss-simple-vars syntax is supported.
334+
vp fmt || true
330335
vp run validate
331336
- name: vite-plus-vitest-global-type-minimal-repro
332337
node-version: 24

0 commit comments

Comments
 (0)