[37] [Trivial] Frontend: Deploy to Production Environment#472
Open
amehsamuel200225-sketch wants to merge 2 commits into
Conversation
…unirezz#37) - Add .github/workflows/production-deploy.yml: GitHub Actions workflow triggered on release tags (v*.*.*) and workflow_dispatch. Runs frontend lint + unit tests, builds with production mainnet env vars, deploys to Vercel production, runs a smoke test against the live URL, and posts a deployment summary to the GitHub release notes. - Add frontend/vercel.json: Vite/React SPA config for Vercel with SPA catch-all rewrites, immutable asset caching, and security headers (X-Frame-Options, X-Content-Type-Options, Referrer-Policy, etc.). - Add deployments/contracts.mainnet.json: placeholder for mainnet contract IDs to be populated on first mainnet deploy. - Fix frontend/src/pages/Portfolio.emptystate.test.tsx: remove unused referralHooks namespace import (ESLint no-unused-vars error). Closes Junirezz#37
|
@amehsamuel200225-sketch Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Finalizes the CI/CD pipeline to automatically deploy the React/Vite frontend to a production environment on Vercel when a release tag is pushed.
Changes
.github/workflows/production-deploy.yml [NEW]
A full production deployment pipeline triggered on �*.. release tags (and workflow_dispatch for manual releases). The workflow:
\rontend/vercel.json\ [NEW]
Vercel project configuration for the Vite/React SPA:
\deployments/contracts.mainnet.json\ [NEW]
Placeholder for mainnet Soroban contract IDs populated on first mainnet deploy.
\rontend/src/pages/Portfolio.emptystate.test.tsx\ [MODIFIED]
Removed unused
eferralHooks\ namespace import that caused an ESLint
o-unused-vars\ error (lint now passes cleanly).
Acceptance Criteria
Closes #37