Commit graph

9 commits

Author SHA1 Message Date
kempersc
a79d95fbf9 fix(ci): add jq to system dependencies and remove stale submodule entries
All checks were successful
Deploy Frontend / build-and-deploy (push) Successful in 4m34s
- Add jq to apt-get install for deployment verification step
- Remove orphaned submodule entries (exa-mcp-server-source, mcp-wikidata) from git index
- Rename 'Install rsync' step to 'Install system dependencies'
2026-01-11 17:29:27 +01:00
kempersc
44469d3e4a chore: trigger workflow to test SSH key secret fix
Some checks failed
Deploy Frontend / build-and-deploy (push) Failing after 4m51s
2026-01-11 17:09:14 +01:00
kempersc
e94b58a289 fix(ci): install rsync in CI container
Some checks failed
Deploy Frontend / build-and-deploy (push) Failing after 4m48s
The node:20-bookworm image doesn't include rsync which is needed
for the sync-schemas npm script.
2026-01-11 17:02:24 +01:00
kempersc
29ef609465 fix(ci): let pnpm version be read from package.json packageManager field
Some checks failed
Deploy Frontend / build-and-deploy (push) Failing after 1m23s
The pnpm/action-setup detects version from package.json's packageManager
field automatically. Specifying version in workflow causes conflict.
2026-01-11 17:00:02 +01:00
kempersc
03a506382d fix(ci): include pnpm workspace files in sparse checkout
Some checks failed
Deploy Frontend / build-and-deploy (push) Failing after 32s
The pnpm-lock.yaml and other workspace files are at the repository root,
not in frontend/. Add them to sparse checkout for pnpm install to work.
2026-01-11 16:58:22 +01:00
kempersc
5aeda1c195 fix(ci): disable pnpm caching due to path resolution issues
Some checks failed
Deploy Frontend / build-and-deploy (push) Failing after 50s
The setup-node action fails to cache pnpm dependencies because the
store path /workspace/kempersc/glam/.pnpm-store/v3 can't be resolved.
Disabling caching for now to get the build working.
2026-01-11 16:43:49 +01:00
kempersc
b2b80cdad8 fix(ci): use pnpm instead of npm for workspace:* dependency support
Some checks failed
Deploy Frontend / build-and-deploy (push) Failing after 59s
The frontend uses pnpm workspaces with 'workspace:*' protocol that npm
doesn't support. This updates the workflow to:
- Install pnpm using pnpm/action-setup
- Use pnpm for install, sync-schemas, generate-manifest, and build
- Cache pnpm dependencies using pnpm-lock.yaml
2026-01-11 16:41:57 +01:00
kempersc
b91be82af2 fix(ci): use sparse checkout to avoid large data/ directory
Some checks failed
Deploy Frontend / build-and-deploy (push) Failing after 5m59s
The repository has 314K+ files including backup data that exceeds
the CI runner's disk space. This change uses sparse checkout to only
fetch frontend/ and schemas/ directories needed for the build.
2026-01-11 16:32:58 +01:00
kempersc
0f7fbf1ca0 feat(ci): add Forgejo Actions workflow for auto-deploy on LinkML schema changes
Some checks are pending
Deploy Frontend / build-and-deploy (push) Waiting to run
Infrastructure changes to enable automatic frontend deployment when schemas change:

- Add .forgejo/workflows/deploy-frontend.yml workflow triggered by:
  - Changes to frontend/** or schemas/20251121/linkml/**
  - Manual workflow dispatch

- Rewrite generate-schema-manifest.cjs to properly scan all schema directories
  - Recursively scans classes, enums, slots, modules directories
  - Uses singular category names (class, enum, slot) matching TypeScript types
  - Includes all 4 main schemas at root level
  - Skips archive directories and backup files

- Update schema-loader.ts to match new manifest format
  - Add SchemaCategory interface
  - Update SchemaManifest to use categories as array
  - Add flattenCategories() helper function
  - Add getSchemaCategories() and getSchemaCategoriesSync() functions

The workflow builds frontend with updated manifest and deploys to bronhouder.nl
2026-01-11 14:16:57 +01:00