Skip to content

Commit

Permalink
RSC: smoke tests: install and build after project:copy (#9411)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored Nov 11, 2023
1 parent 26c1f34 commit e2a90f8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/actions/set-up-rsc-project/setUpRscProject.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,17 @@ async function setUpRscProject(
await execInProject(`node ${rwBinPath} experimental setup-rsc`)
console.log()

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

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

console.log('Installing dependencies')
await execInProject('yarn install')
console.log()

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

0 comments on commit e2a90f8

Please sign in to comment.