Add a new pipeline job to be able to release the JS client.
To release, push to a remote branch the commit from where you want to release. The remote branch contains the version to be released.
Sample:
git push origin master:release/2.8.0
This will trigger a 2.8.0 release.