Skip to content

Commit

Permalink
RSC GH action: Move build to after copy (#9413)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe committed Nov 12, 2023
1 parent df88574 commit 114a2b0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/actions/actionsLib.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -151,17 +151,14 @@ export async function setUpRscTestProject(
console.log(`Installing node_modules in ${testProjectPath}`)
await execInProject('yarn install')

console.log(`Building project in ${testProjectPath}`)
await execInProject(`node ${rwBinPath} build -v`)
console.log()

console.log(`Copying over framework files to ${testProjectPath}`)
await execInProject(`node ${rwfwBinPath} project:copy`, {
env: { RWFW_PATH: REDWOOD_FRAMEWORK_PATH },
})
console.log()

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

0 comments on commit 114a2b0

Please sign in to comment.