Skip to content

Conversation

rjan90
Copy link
Contributor

@rjan90 rjan90 commented Sep 17, 2025

The publish-abis.yml workflow was failing after the publishing of v2.1.0 here: https://github.com/FilOzone/pdp/actions/runs/17792160390 because it tried to run npm ci, but PDP doesn't have a package.json file at the root level iiuc.

I removed the unnecessary npm ci step. The workflow now only runs forge install which is all that's needed for Foundry dependency management.

fix: remove npm ci from publish-abis workflow
@FilOzzy FilOzzy added this to FS Sep 17, 2025
@github-project-automation github-project-automation bot moved this to 📌 Triage in FS Sep 17, 2025
@rjan90 rjan90 moved this from 📌 Triage to 🔎 Awaiting review in FS Sep 17, 2025
@rjan90 rjan90 moved this to 🔎 Awaiting review in PDP Sep 17, 2025
@rjan90 rjan90 self-assigned this Sep 17, 2025
@rjan90
Copy link
Contributor Author

rjan90 commented Sep 17, 2025

It passed with the fix, but is now failing because GH Releases requires a tag: https://github.com/FilOzone/pdp/actions/runs/17792580649

I have also tested it manually:

make build && make extract-abis
forge build --via-ir
[⠊] Compiling...
No files changed, compilation skipped
mkdir -p abi

I upload these assets manually to the release: https://github.com/FilOzone/pdp/releases/tag/v2.1.0. I see that there is a lot of Abi-files, is dumping them all in there fine. Or should it have created a directory or something with these files to make it neater?

rjan90 added a commit to FilOzone/filecoin-pay that referenced this pull request Sep 19, 2025
Similar to: FilOzone/pdp#199. 

The publish-abis on releases workflow are failing
(https://github.com/FilOzone/filecoin-pay/actions/runs/17854873063)
because it tried to run `npm ci` on a Foundry project that doesn't have
package.json at the root. We only need `forge install` for Solidity
dependencies.
@github-project-automation github-project-automation bot moved this from 🔎 Awaiting review to ✔️ Approved by reviewer in FS Sep 25, 2025
@ZenGround0 ZenGround0 merged commit 20878a9 into main Sep 25, 2025
3 of 4 checks passed
@github-project-automation github-project-automation bot moved this from 🔎 Awaiting review to 🎉 Done in PDP Sep 25, 2025
@ZenGround0 ZenGround0 deleted the phi/fix-abi-workflow branch September 25, 2025 15:10
@github-project-automation github-project-automation bot moved this from ✔️ Approved by reviewer to 🎉 Done in FS Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🎉 Done
Status: 🎉 Done
Development

Successfully merging this pull request may close these issues.

2 participants