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

Optimize deploy_preview build step to reduce netlify build cost #3761

Merged
merged 15 commits into from
Nov 8, 2024

Conversation

benhammondmusic
Copy link
Collaborator

@benhammondmusic benhammondmusic commented Nov 7, 2024

  • adds special vite config for building on deploy_preview
  • Reduced from around 1.5~2min build time to under 1min (~50% reduction in build time usage)
  • moves type checking from build step to pre-commit

Copy link

netlify bot commented Nov 7, 2024

Deploy Preview for health-equity-tracker ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit ad2795e
🔍 Latest deploy log https://app.netlify.com/sites/health-equity-tracker/deploys/672d3e2530a00f0008d572f3
😎 Deploy Preview https://deploy-preview-3761--health-equity-tracker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@benhammondmusic benhammondmusic changed the title Rewrite commit msg on draft PR updates to skip netlify Optimize deploy_preview build step to reduce netlify build cost Nov 7, 2024
@benhammondmusic benhammondmusic marked this pull request as ready for review November 8, 2024 00:31
@benhammondmusic benhammondmusic merged commit c8094e1 into SatcherInstitute:main Nov 8, 2024
8 checks passed
@benhammondmusic benhammondmusic deleted the skip-nett branch November 8, 2024 00:32
kccrtv pushed a commit to kccrtv/health-equity-tracker that referenced this pull request Nov 8, 2024
…tcherInstitute#3761)

- adds special vite config for building on `deploy_preview`
- Reduced from around 1.5~2min build time to under 1min (~50% reduction
in build time usage)
- moves type checking from build step to pre-commit
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