Fix ARM64 APK workflow failure by restoring Tailwind/PostCSS compatibility
Merged
CO
14d ago+553+553+012345678901234567890123456789-19-19-01234567890123456789
User description
The ARM64 APK GitHub Actions run failed in the Next.js build step because the CSS pipeline was using an incompatible Tailwind/PostCSS pairing. This PR realigns the frontend build toolchain so CI can compile src/app/globals.css without PostCSS plugin errors.
-
Root cause addressed
- Build was executed with Tailwind v4 behavior while the repository is configured in Tailwind v3 style (
@tailwinddirectives +tailwind.config.tstheme extension +tailwindcssPostCSS plugin), causing Turbopack/PostCSS evaluation failure.
- Build was executed with Tailwind v4 behavior while the repository is configured in Tailwind v3 style (
-
Dependency alignment
- Pin
tailwindcssto^3.4.17indevDependencies. - Regenerate
package-lock.jsonto reflect the resolved dependency graph used by CI.
- Pin
-
PostCSS pipeline correction
- Keep
postcss.config.mjson the Tailwind v3 plugin entry (tailwindcss) to match the project’s CSS and config conventions.
- Keep
-
Illustrative config
// postcss.config.mjs const config = { plugins: { tailwindcss: {}, }, }; export default config;
Summary by cubic
Fixes the ARM64 APK GitHub Actions workflow, which failed during the Next.js build because the CSS pipeline was running with Tailwind v4 while the repo's CSS and config use the Tailwind v3 style (@tailwind directives, tailwind.config.ts, and the tailwindcss PostCSS plugin).
- Pins
tailwindcssto^3.4.17indevDependencies. - Regenerates
package-lock.jsonto match the resolved dependency graph.
PR Type
Bug fix
Description
-
Fixes CI build failures.
-
Pins
tailwindcssto compatible version. -
Resolves Tailwind/PostCSS incompatibility.
File Walkthrough
| Relevant files | |||
|---|---|---|---|
| Dependency update |
|