datahaven/.github/workflows
Facundo Farall 935babe36a
ci: 👷 Add CI to check PAPI metadata (#107)
Add CI check for Polkadot-API metadata freshness

This PR adds a new CI workflow that ensures the Polkadot-API metadata
file (`test/.papi/metadata/datahaven.scale`)
   is kept up-to-date when runtime changes are made.

  Changes:

  - Added task-check-metadata.yml workflow that:
- Reuses the WASM artifact from the build-operator job (no duplicate
compilation)
    - Runs `bun x papi add` to regenerate metadata
    - Fails if the metadata file has uncommitted changes
- Integrated the check into `CI.yml` as a second-tier job alongside
`docker-build`

  Why:

- Prevents TypeScript type definitions from becoming out of sync with
the runtime
- Reminds developers to run `bun generate:types:fast` when making
runtime changes
  - Ensures consistent type safety across the codebase

The check provides clear error messages with instructions when metadata
is outdated.
2025-06-19 19:12:04 -03:00
..
actions refactor: 🐳 Improve docker caching (again) (#86) 2025-05-27 16:14:15 +00:00
CI.yml ci: 👷 Add CI to check PAPI metadata (#107) 2025-06-19 19:12:04 -03:00
DOCKER-PROD.yml fix: 💚 Remove interruption of Docker image publishing CI in main (#100) 2025-06-16 12:31:36 -03:00
task-build-operator.yml ci: 👷 Add CI to check PAPI metadata (#107) 2025-06-19 19:12:04 -03:00
task-check-metadata.yml ci: 👷 Add CI to check PAPI metadata (#107) 2025-06-19 19:12:04 -03:00
task-docker.yml refactor: 🐳 Improve docker caching (again) (#86) 2025-05-27 16:14:15 +00:00
task-e2e.yml refactor: 🚚 rename relayer image to adapt to snowbridge repo refactor (#92) 2025-06-10 19:02:14 +02:00
task-foundry-tests.yml test: ️ CI Refactor (#59) 2025-05-06 20:20:02 +00:00
task-rust-lint.yml fix: 🐳 Improve Docker Caching (#66) 2025-05-13 09:12:32 +00:00
task-rust-tests.yml refactor: 🐳 Improve docker caching (again) (#86) 2025-05-27 16:14:15 +00:00
task-ts-build.yml test: New CLI functions (#84) 2025-05-22 20:02:12 +00:00
task-ts-lint.yml test: ️ CI Refactor (#59) 2025-05-06 20:20:02 +00:00
weekly-audit.yml test: ️ CI Refactor (#59) 2025-05-06 20:20:02 +00:00