Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

feat: read version from package.json #78

Merged
merged 3 commits into from
Sep 26, 2022

Conversation

KovacZan
Copy link
Contributor

@KovacZan KovacZan commented Aug 2, 2022

Hello
We were checking Infura API and came across Infura NFT SDK, we looked into it and found a comment :)

And I said let's do a PR for this, they might miss this comment out.

The current dynamic version adding is done via reading the package.json file.
Probably better way of doing it would be thought env https://docs.npmjs.com/cli/v6/using-npm/scripts#packagejson-vars

Let us know what you think and we can try to help!

@salimtb
Copy link
Collaborator

salimtb commented Aug 2, 2022

@KovacZan your branch is out-of-date, you need to rebase on main

* feat(PTP-555-2): Updated ERC721 Mintable with Error logger. Constants file added.

* Tests updated with error logger.

* feat: Updated role names.
@salimtb
Copy link
Collaborator

salimtb commented Aug 18, 2022

@KovacZan sorry for the delay, i'll like to approve and merge your PR, but you still have a failed test , please run npm run test and fix the broken test

@KovacZan
Copy link
Contributor Author

@KovacZan sorry for the delay, i'll like to approve and merge your PR, but you still have a failed test , please run npm run test and fix the broken test

Hello @salimtb, I think the problem is with github actions not picking env variables required to run tests (maybe because I am outside collaborator).
npm run test works fine with my local .env config.

I have made PR to our fork protokol#1
I have set the same env variables as locally and tests are passing. The only thing that is failing on our fork is sonarcube of course.

@salimtb salimtb merged commit ce9387d into Consensys:main Sep 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
4 participants