-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: test and verify package on build #1047
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work on this! Looks good should help us prevent merging any malformed packages! I think makes sense to just test this end to end vs try and verify package structure by hand. Hopefully will catch other future issues as well! I think it would be a good idea to add package/install verify step like this for other SDK's where makes sense as well. Maybe open some issues or add to notion page for CICD checks we have across SDK repos.
npm i ../../../packages/client-sdk-nodejs/gomomento-sdk-0.0.1.tgz | ||
rm -rf node_modules package-lock.json | ||
npm i | ||
npm run build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bruuuuuuuce maybe think about in follow up pr or issue be good to maybe try running example or run some test also make sure can actually start up? At least making sure builds for now is better then nothing here.
follow-up to #1045
Makes sure that nodejs and web sdk can be packaged and installed in our example repos, ensuring that the packing is correct