Update GitHub Actions workflow for deployment - #1
Open
DSK369 wants to merge 9 commits into
Open
Conversation
Introduces i18n support (LanguageProvider, i18n.js, language.js) with an English/Hindi toggle in the app header, wires translated strings through the main app sections and tables, and adds label-fit sizing (labelFit.js) plus geometry tweaks for North/South Indian charts to keep translated labels legible.
Moves the astro-engine FastAPI service (core/, services/app.py, ephemeris data) into this repo instead of a separate one, so the frontend and the backend it depends on live and deploy together. Adds render.yaml (rootDir: backend) so Render's Blueprint deploy picks it up as a standalone Python web service.
.env.production sets VITE_API_BASE_URL so the GitHub Pages build calls the live astro-engine-api service instead of the localhost-only fallback. Backend CORS now allows the Pages origin plus any localhost port for dev, instead of a wildcard.
npm ci was failing in CI (lock file listed @emnapi/wasi-threads@1.2.2 and was missing @emnapi/core, @emnapi/runtime — transitive deps that drifted out of sync with package.json), which meant every GitHub Pages deploy since this drifted has been failing at the install step.
npm ci was failing on the Linux runner with "Missing: @emnapi/core, @emnapi/runtime from lock file" even against a freshly regenerated lock file. Those packages are transitive deps of the wasm32-wasi optional binary variant of rolldown/oxlint; npm's lockfile generation on Windows doesn't reliably record a wasm32-only package's own dependencies since that variant isn't installed locally, so a Windows-generated lock file can't satisfy npm ci's strict validation on Linux CI regardless of how many times it's regenerated. npm install resolves what's actually needed instead of requiring an exact match.
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.
No description provided.