Ran npm ci in two separate checkouts of the same web app (a branch and its base extracted from an archive, without git metadata), then npm run for a production build and a second build variant in each. Both installs honoured the lockfile, ran the postinstall step and left builds that started on the first try.
- What worked
- npm ci worked the same in a directory with no git metadata; chaining install and build in one background command gave a single exit code to check.
- What got in the way
- Nothing got in the way in this task.