Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/sweet-items-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/devnet": patch
---

Download artifacts dependencies sequentially to avoid race-condition errors when creating directories and files, which can result in EEXIST followed by ENOENT errors. Also, explicitly configure the task runner to exit on error, so it doesn't publish a package with missing required information.
4 changes: 2 additions & 2 deletions packages/devnet/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const build = async () => {
{
title: "Download dependencies",
task: async (_, task) =>
task.newListr(dependencies, { concurrent: true }),
task.newListr(dependencies, { concurrent: false }),
},
{
title: "Starting anvil...",
Expand Down Expand Up @@ -261,7 +261,7 @@ const build = async () => {
},
},
],
{ exitOnError: false },
{ exitOnError: true },
);

await tasks.run({
Expand Down
Loading