Misc optimizations to reduce build time #145
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Type of Change
What issue does this relate to?
N/A
What should this PR do?
Updates to Node.js 16, which gives us NPM 8, which is substantially faster, and reworks the logic used for fetching all the library versions for the sitemap to improve the speed there (and provide more visibility into the speed with reported timings).
Not in code, but in App Platform, remove the
NODE_ENV=propduction
environment variable +npm ci --production=false
from the build step, so we can rely on the platform-provided dependency cachingWhat are the acceptance criteria?
Site continues to build as expected and function as expected, given the Node.js version update. Sitemap continues to be populated as expected.