Action: publish-verdaccio
Deploys tarballs in ./signed-dist to Verdaccio with error handling.
Action Path: Trickle-Charge/TrickleCharge-Infra/.github/actions/publish-verdaccio@main
Inputs
| Input | Description | Required | Default |
|---|---|---|---|
registry-url |
Verdaccio registry URL | false | https://npm.tricklecharge.dev |
What It Does
- Scans staging directory: Checks
./signed-distfor.tgzarchives. If no package files are present, logs that the pipeline is up to date and exits early with status0. - Iterates through artifacts: Loops over every
.tgzarchive found in./signed-dist/. - Publishes to registry: Executes
npm publishfor each tarball against the specifiedregistry-url. - Batches failure tracking: If an individual package upload fails, records the error and continues attempting to publish remaining packages rather than aborting immediately.
- Enforces pipeline status: Exits with status
1at the end of execution if one or more package publishes failed.