Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc optimizations to reduce build time #145

Merged
merged 8 commits into from
Apr 2, 2024

Conversation

MattIPv4
Copy link
Member

@MattIPv4 MattIPv4 commented Apr 2, 2024

Type of Change

  • Something else: Dependencies + build logic

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 caching

What 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.

@MattIPv4 MattIPv4 merged commit 3952fbc into master Apr 2, 2024
3 checks passed
@MattIPv4 MattIPv4 deleted the MattIPv4/build-optimizations branch April 2, 2024 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant