"We take care in this job to set the registry to the publish service after any npm commands that install dependencies (e.g. npm ci), because the publish service is only meant for publishing. If you try to npm install with the publish service registry, it will fail."
Per instructions for using the publish service
"We take care in this job to set the registry to the publish service after any npm commands that install dependencies (e.g. npm ci), because the publish service is only meant for publishing. If you try to npm install with the publish service registry, it will fail."