Thanks for your interest in improving the Spice Cloud Deploy Action.
- Fork and clone the repo.
- Install Node 20 (see
.nvmrc) and runnpm install. - Make your changes under
src/. Runnpm run allbefore opening a PR — it runs lint, typecheck, tests, and rebuildsdist/. - Commit
dist/index.jsanddist/index.js.mapwith the rest of your change. CI verifies the bundled output matchessrc/. - Update
CHANGELOG.mdunder the## [Unreleased]section with a one-line entry per user-visible change. - Update
README.mdandaction.ymlwhenever you change inputs/outputs.
The Test action workflow (.github/workflows/test-action.yml) deploys against a real Spice Cloud app using the spice-cloud GitHub Environment. It is gated on workflow_dispatch so you can trigger it from a fork/branch with the appropriate secrets configured.
- Bump the version in
package.jsonand add a## [<version>]section toCHANGELOG.md. - Open a release PR, get it approved and merged.
- Tag the commit on
trunk:git tag v1.x.y && git push origin v1.x.y. - The release workflow updates the floating major-version tag (e.g.
v1) and creates a GitHub release using the changelog notes.
Consumers should pin to a major (@v1) for ongoing patches or to an exact tag (@v1.x.y) for reproducible builds.
Linting and formatting are handled by Biome — npm run lint and npm run format are your friends. Source files live under src/ and tests under __tests__/.