Skip to content

Conversation

@guibescos
Copy link
Contributor

@guibescos guibescos commented May 1, 2023

This PR aims to resolve the following problem.

The way the script currently works is it only builds the packages it aims to publish. However if your package depends on another package that's not being published, the whole thing will fail because that other package hasn't been built.

https://github.com/pyth-network/pyth-crosschain/actions/runs/4852553452/jobs/8647678135
in this job after a bugfix to price-service-client publish price-service-client failed because we're not publishing price-service-sdk.

There are two solutions :

  • Build all the packages at the beginning of the workflow (this PR)
  • Make sure to bump all packages every time we make a new release.

@vercel
Copy link

vercel bot commented May 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Updated (UTC)
example-oracle-amm ⬜️ Ignored (Inspect) May 1, 2023 4:15pm
xc-admin-frontend ⬜️ Ignored (Inspect) May 1, 2023 4:15pm

@guibescos guibescos changed the title Build all packages before publishing [js-packages] Build all packages before publishing May 1, 2023
@guibescos guibescos merged commit 61a66ee into main May 1, 2023
@guibescos guibescos deleted the build-packages-before-publishing branch May 1, 2023 18:00
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.

4 participants