Split the session, gate optional parameters on the peer version, own the SMPP version in defs

This commit is contained in:
2026-08-26 22:41:28 +02:00
parent 1e5807f647
commit 6d842a8539
23 changed files with 1381 additions and 803 deletions
+8
View File
@@ -19,6 +19,14 @@ jobs:
node-version: 24
registry-url: https://registry.npmjs.org
- run: npm ci
- name: The tag must match the version being published
run: |
tagged="${GITHUB_REF_NAME#v}"
packaged="$(node -p 'require("./package.json").version')"
test "$tagged" = "$packaged" || {
echo "tag $GITHUB_REF_NAME does not match package.json $packaged"
exit 1
}
- run: npm run lint
- run: npm test
- run: npm publish --provenance --access public