Skip to content

Commit

Permalink
chore(ci): try yarn rw upgrade -t canary instead of npx@canary (#10177
Browse files Browse the repository at this point in the history
)

#10176 didn't work, but I did
discover that the SSR test project seems to always be one canary behind
and completes successfully:
#10176 (comment).
It uses `yarn rw upgrade`. Let's see if that works for RSC too.
  • Loading branch information
jtoar authored Mar 9, 2024
1 parent dac624c commit 11b7be3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/actions/set-up-rsc-project/setUpRscProject.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,15 @@ async function setUpRscProject(

console.log(`Creating project at ${rscProjectPath}`)
console.log()
await exec('npx', [
'-y',
'create-redwood-app@canary',
await exec('yarn', [
'create',
'redwood-app',
'-y',
'--no-git',
rscProjectPath,
])
await execInProject('yarn')
await execInProject('yarn install')
await execInProject('yarn rw upgrade -t canary')

console.log(`Setting up Streaming/SSR in ${rscProjectPath}`)
const cmdSetupStreamingSSR = `node ${rwBinPath} experimental setup-streaming-ssr -f`
Expand Down

0 comments on commit 11b7be3

Please sign in to comment.