Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

ci(sdk): publish the JavaScript dist that passed the release gates

Yudhi Armyndharis533414724f99
diff --git a/.github/workflows/js-sdk-release.yml b/.github/workflows/js-sdk-release.yml
index cf89339fa..4ee322bcc 100644
--- a/.github/workflows/js-sdk-release.yml
+++ b/.github/workflows/js-sdk-release.yml
@@ -96,4 +96,6 @@ jobs:
- name: Publish to npm (trusted publishing, provenance automatic)
# No --provenance flag: npm attaches provenance on its own for a trusted-publisher release, and
# passing it is redundant. --access public is explicit because the package is scoped.
- run: npm publish --access public
+ # --ignore-scripts skips prepublishOnly, which would rebuild dist/ after smoke: the dist/ that
+ # passed the gates above is the one that ships. prepublishOnly stays for a manual publish.
+ run: npm publish --access public --ignore-scripts