Skip to content

Commit

Permalink
Add README
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe committed Sep 25, 2023
1 parent 0749677 commit fd43e31
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/actions/set-up-rsc-project/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# GitHub action to create a RW project with RSCs set up

This action creates a RW project with Streaming SSR and RSCs set up. It's used
for RSC smoke tests.

It runs `npx -y create-redwood-app@canary ...` to set the project up with the
latest canary release of Redwood. It then runs
`experimental setup-streaming-ssr` and `experimental setup-rsc` followed by
a build of the rw app.

## Testing/running locally

Go into the github actions folder
`cd .github/actions`

Then run the "Locally" version of the setup script
`node set-up-rsc-project/setUpRscProjectLocally.mjs`
1 change: 1 addition & 0 deletions .github/actions/set-up-rsc-project/setUpRscProject.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// @ts-check

import path from 'node:path'

import { REDWOOD_FRAMEWORK_PATH } from '../actionsLib.mjs'

/**
Expand Down

0 comments on commit fd43e31

Please sign in to comment.