[
https://issues.apache.org/jira/browse/PHOENIX-7981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Kyle Purtell resolved PHOENIX-7981.
------------------------------------------
Resolution: Fixed
> Site build improvements
> -----------------------
>
> Key: PHOENIX-7981
> URL: https://issues.apache.org/jira/browse/PHOENIX-7981
> Project: Phoenix
> Issue Type: Improvement
> Components: site
> Reporter: Andrew Kyle Purtell
> Assignee: Andrew Kyle Purtell
> Priority: Minor
>
> I needed two small improvements to the phoenix-site build process in order to
> publish a recent change.
> First, in build.sh, enforce the project’s required Node 22 runtime. If
> Node/npm are missing or a different Node major is active, install and switch
> to Node 22 through nvm. This avoids Node > 22 incompatibilities in the
> current Playwright dependency.
> Then, in unit-tests/setup.ts, provide an in-memory localStorage
> implementation only when the test environment lacks one. This prevents UI
> tests from failing under versions of Node > 22, in which the disabled
> experimental localStorage otherwise shadows the browser-like test
> environment’s storage and breaks a bunch of tests.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)