Skip to content

Commit ee1aca8

Browse files
committed
Finish installation before prerequisite builds
Deno runs sibling task dependencies concurrently. The prerequisite pnpm builds previously raced pnpm install, which can rewrite executable shims while a build starts and fail with tsdown permission errors. Make each prerequisite build depend on install so all shim updates and installation lifecycle scripts finish before those builds run. https://github.com/fedify-dev/fedify/actions/runs/37948628519/job/113881481612 Assisted-by: Codex:gpt-6.1-sol
1 parent 0145a06 commit ee1aca8

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

‎deno.json‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,20 @@
117117
]
118118
},
119119
"pnpm:build-vocab-runtime": {
120-
"command": "pnpm -C packages/vocab-runtime build"
120+
"command": "pnpm -C packages/vocab-runtime build",
121+
"dependencies": ["install"]
121122
},
122123
"pnpm:build-vocab-tools": {
123-
"command": "pnpm -C packages/vocab-tools build"
124+
"command": "pnpm -C packages/vocab-tools build",
125+
"dependencies": ["install"]
124126
},
125127
"pnpm:build-fixture": {
126-
"command": "pnpm -C packages/fixture build"
128+
"command": "pnpm -C packages/fixture build",
129+
"dependencies": ["install"]
127130
},
128131
"pnpm:build-webfinger": {
129-
"command": "pnpm -C packages/webfinger build"
132+
"command": "pnpm -C packages/webfinger build",
133+
"dependencies": ["install"]
130134
},
131135
"pnpm:build-vocab": {
132136
"command": "pnpm -C packages/vocab build",

0 commit comments

Comments
 (0)