Skip to content

Commit 114a2b0

Browse files
authored
RSC GH action: Move build to after copy (#9413)
1 parent df88574 commit 114a2b0

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/actions/actionsLib.mjs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,17 +151,14 @@ export async function setUpRscTestProject(
151151
console.log(`Installing node_modules in ${testProjectPath}`)
152152
await execInProject('yarn install')
153153

154-
console.log(`Building project in ${testProjectPath}`)
155-
await execInProject(`node ${rwBinPath} build -v`)
156-
console.log()
157-
158154
console.log(`Copying over framework files to ${testProjectPath}`)
159155
await execInProject(`node ${rwfwBinPath} project:copy`, {
160156
env: { RWFW_PATH: REDWOOD_FRAMEWORK_PATH },
161157
})
162158
console.log()
163159

164-
// await cache.saveCache([testProjectPath], dependenciesKey)
165-
// console.log(`Cache saved with key: ${dependenciesKey}`)
160+
console.log(`Building project in ${testProjectPath}`)
161+
await execInProject(`node ${rwBinPath} build -v`)
162+
console.log()
166163
}
167164

0 commit comments

Comments
 (0)