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

[WORKFLOW] ci.canary broken at NPMJS publishing step #649

Closed
hellwolf opened this issue Feb 23, 2022 · 6 comments
Closed

[WORKFLOW] ci.canary broken at NPMJS publishing step #649

hellwolf opened this issue Feb 23, 2022 · 6 comments
Assignees
Labels
Project: DEV-PROC Superfluid development processes related to DevSecOps, Quality and InfoSec. Severity: High Tag: Bounty Things that has a bounty on them Type: Bug Something isn't working

Comments

@hellwolf
Copy link
Contributor

A pull request attempting to fix it is still failing: #647

The context is that upgrading node to 16.x and, the need to change package.json repository syntax for monorepo doesn't seem to jive well with the current npm publishing step. Please help us to fix it.

Bounty reward

200 DAIx payable on Polygon in Super DAI (DAIx)

@hellwolf hellwolf added the Project: DEV-PROC Superfluid development processes related to DevSecOps, Quality and InfoSec. label Feb 23, 2022
@hellwolf hellwolf added Tag: Bounty Things that has a bounty on them Severity: High Type: Bug Something isn't working labels Feb 23, 2022
@samirsalem
Copy link

As discussed i'm working on it

@samirsalem
Copy link

samirsalem commented Feb 24, 2022

I’ve found a way to correct this and it is using built in GitHub actions for node publishing , to properly fix and submit a PR I would like to know what is the use case of tagging the npm packages? In witch way do you use tags? Can the tag be the short sha of the commit for example?
For the moment the idea is to limit usage of bash scripts called from outside the runners execution context, and declare most of the variables in workflow file.
This will make debugging easier in the future
The bash scripts should probably be substituted with workflow calls.
@hellwolf let me know if this approach suits your needs

@hellwolf
Copy link
Contributor Author

to properly fix and submit a PR I would like to know what is the use case of tagging the npm packages? In witch way do you use tags? Can the tag be the short sha of the commit for example?

https://www.npmjs.com/package/@superfluid-finance/sdk-core e.g.

image

they are tags to give unique names to different builds

@hellwolf
Copy link
Contributor Author

For the moment the idea is to limit usage of bash scripts called from outside the runners execution context, and declare most of the variables in workflow file.
This will make debugging easier in the future
The bash scripts should probably be substituted with workflow calls.

I would actually propose we put "set -ex" to all bash scripts if not yet, that should still make things easy to debug where each command is visible, while keeping the scripts reusable.

@samirsalem
Copy link

Ok, thanks, got it !

@hellwolf
Copy link
Contributor Author

hellwolf commented Mar 2, 2022

@hellwolf hellwolf closed this as completed Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Project: DEV-PROC Superfluid development processes related to DevSecOps, Quality and InfoSec. Severity: High Tag: Bounty Things that has a bounty on them Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants