Use newer node in publish pipeline (#10813)
Resoilve an issue with a package that fail to install in standalone cli
e2e tests
```
typespec/standalone-cli:test:e2e: 'npm warn Unknown global config "store-dir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.\n' +
@typespec/standalone-cli:test:e2e: 'npm error code EBADENGINE\n' +
@typespec/standalone-cli:test:e2e: 'npm error engine Unsupported engine\n' +
@typespec/standalone-cli:test:e2e: 'npm error engine Not compatible with your version of node/npm: mute-stream@4.0.0\n' +
@typespec/standalone-cli:test:e2e: 'npm error notsup Not compatible with your version of node/npm: mute-stream@4.0.0\n' +
@typespec/standalone-cli:test:e2e: 'npm error notsup Required: {"node":"^22.22.2 || ^24.15.0 || >=26.0.0"}\n' +
@typespec/standalone-cli:test:e2e: 'npm error notsup Actual: {"node":"v24.14.1","npm":"11.15.0"}\n' +
@typespec/standalone-cli:test:e2e: 'npm error A complete log of this run can be found in: /home/cloudtest/.npm/_logs/2026-05-27T14_28_43_340Z-debug-0.log\n' +
@typespec/standalone-cli:test:e2e: 'Internal compiler error!\n' +
```
successful run
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6359597&view=results T
Timothee Guerin committed
0e73dd369cf6fde8ef21b7a58acec72fb2b9625d
Parent: 878be97
Committed by GitHub <noreply@github.com>
on 5/27/2026, 11:12:26 PM