Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

Create a script to build, test and publish the NodeJS client #9

Open
evoxmusic opened this issue May 2, 2021 · 2 comments
Open

Create a script to build, test and publish the NodeJS client #9

evoxmusic opened this issue May 2, 2021 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@evoxmusic
Copy link
Contributor

To make RedisLess easily testable by any NodeJS developer, it would be useful to have a script to build, test and deploy the NodeJS client. Any suggestion is appreciated.

@evoxmusic evoxmusic added the help wanted Extra attention is needed label May 2, 2021
@tbmreza
Copy link
Contributor

tbmreza commented May 28, 2021

Stumbled upon this: https://dev.to/kennethlarsen/how-to-distribute-a-rust-binary-on-npm-75n

  • use this CI template to publish binary releases for Linux, macOS and Windows
  • install.js looks something like:
let exec = require('child_process').exec;

exec('curl -LSfs https://japaric.github.io/trust/install.sh | \
sh -s -- --git qovery/redisless', (error, stdout, stderr) => {
  console.log(stderr);
});
  • node install.js

Is this close enough to what you had in mind?

@evoxmusic
Copy link
Contributor Author

I don't think we need something like that. We already have everything we need. We just need to spend some time to automatically build and publish on NPM with Github actions. I will probably spend some time on this task once I have finished what I am working on - RedisLess cluster support

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants