Skip to content

ci: repair obsolete Actions and merge-conflicted configuration (partial) - #3

Draft
TheBrown wants to merge 11 commits into
mainfrom
ci/fix-obsolete-actions-next-patch-2026-11
Draft

TheBrown wants to merge 11 commits into
mainfrom
ci/fix-obsolete-actions-next-patch-2026-11

Conversation

@TheBrown

@TheBrown TheBrown commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Purpose

Restore basic CI execution in the outdated Lao React documentation fork. This is a partial, draft maintenance repair; the site is not yet validated to build.

Root causes confirmed from GitHub Actions logs

  1. Analyzer stopped at job setup due to unsupported actions/cache@v2 and actions/upload-artifact@v2.
  2. Lint stopped during Yarn install because patches/next+13.4.1.patch is incompatible with installed Next.js 15.5.15.
  3. The old bahmutov/npm-install@v1.7.10 step failed because its GitHub cache API returned 400.
  4. Once installation succeeded, Next.js stopped parsing next.config.js, which contained literal <<<<<<</ >>>>>>> merge markers.
  5. After config repair, build reached an invalid .eslintrc (also contains literal conflict markers), then revealed a TypeScript version mismatch with Next.js 15.5.15.

Changes on this branch

  • Replace unsupported cache/artifact Actions with v4.
  • Update older checkout/setup-node versions to v4.
  • Use yarn install --frozen-lockfile in bundle analysis instead of an obsolete installer.
  • Remove a Next.js 13-only patch which cannot apply to installed Next.js 15.
  • Resolve pre-existing conflict markers in next.config.js by retaining the existing stable options rather than enabling unreviewed upstream rewrites/React Compiler behavior.
  • Resolve pre-existing conflict markers in .eslintrc by retaining existing lint rules.

Remaining blockers — do not merge yet

  • Reconcile current TypeScript 4.x with Next.js 15.x (the build log reports a type parse failure in Next's own .d.ts file). Update the lockfile via package manager; do not hand-edit or disable type checks.
  • Verify yarn ci-check, yarn build, and bundle analysis to completion on a clean environment.
  • Investigate any additional pre-existing merge markers safely.
  • Review the original Next.js server-stream patch behavior on Next.js 15.
  • Confirm that changing upload-artifact major version does not break the artifact download/compare workflow.

No changes to Lao translations, official reactjs/lo.react.dev, or deployment. No automatic merge.

Related translation draft: #2.

@TheBrown TheBrown changed the title ci: restore Actions compatibility after Next.js upgrade ci: repair obsolete Actions and merge-conflicted configuration (partial) Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant