Skip to content

Commit 9b5934e

Browse files
committed
fix: skip post-install hook in dagger when installing deps
1 parent 0730f1c commit 9b5934e

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.dagger/src/main.dagger.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,17 +108,14 @@ export class WorkersPackages {
108108
'**/package.json',
109109
'.npmrc',
110110
'packages/tools/bin',
111-
112-
// needed for turbo-config post-install hook
113-
'turbo.config.ts',
114-
'turbo.json',
115111
],
116112
})
117113

118114
// install pnpm deps
119115
.withMountedCache('/pnpm-store', dag.cacheVolume(`pnpm-store`))
120116
.withExec(sh('pnpm config set store-dir /pnpm-store'))
121-
.withExec(sh('FORCE_COLOR=1 pnpm install --frozen-lockfile --child-concurrency=10'))
117+
// add CI=1 to skip turbo-config post-install hook
118+
.withExec(sh('FORCE_COLOR=1 CI=1 pnpm install --frozen-lockfile --child-concurrency=10'))
122119

123120
// copy over the rest of the project
124121
.withDirectory('/work', this.source.directory('/'), { include: projectIncludes })

0 commit comments

Comments
 (0)