Skip to content
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

Merged
merged 12 commits into from
Nov 15, 2023
Merged

feat: test and verify package on build #1047

merged 12 commits into from
Nov 15, 2023

Conversation

bruuuuuuuce
Copy link
Contributor

@bruuuuuuuce bruuuuuuuce commented Nov 15, 2023

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

@bruuuuuuuce bruuuuuuuce marked this pull request as ready for review November 15, 2023 20:36
Copy link
Member

@eaddingtonwhite eaddingtonwhite left a 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
Copy link
Member

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.

@bruuuuuuuce bruuuuuuuce merged commit 5c0e196 into main Nov 15, 2023
13 checks passed
@bruuuuuuuce bruuuuuuuce deleted the bruuuuuuuce-patch-1 branch November 15, 2023 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants