Skip to content

Commit

Permalink
Merge branch 'main' of github.com:redwoodjs/redwood into feat/api-ski…
Browse files Browse the repository at this point in the history
…p-prebuild-try-2

* 'main' of github.com:redwoodjs/redwood: (33 commits)
  Revert accidental changes to test-project
  chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.5.2 (redwoodjs#9716)
  fix(deps): update dependency react-helmet-async to v2 (redwoodjs#9697)
  fix(deps): update dependency sqlite to v5 (redwoodjs#9698)
  data migrate: Clean up upHandler test (redwoodjs#9796)
  chore(data-migration): Fix test exit code (redwoodjs#9795)
  Add routeParams to useMatch (redwoodjs#9793)
  fix(fastify): Prevent duplicate `@fastify/url-data` registration (redwoodjs#9794)
  useRoutePath(): Get the path for the current route by default (redwoodjs#9790)
  Router: Use a single RouterContext (redwoodjs#9792)
  chore: yarn install to update `yarn.lock` (follow up to redwoodjs#9669)
  chore(deps): update dependency @envelop/core to v5 (redwoodjs#9669)
  Use regex to make test pass in VSCode (redwoodjs#9791)
  fix(dbAuth): Correct hardcoded DB column (redwoodjs#9788)
  fix(deps): update dependency graphql-yoga to v5 (redwoodjs#9688)
  chore(release-tooling): Reminder to update Algolia
  chore(release-tooling): Add note about generating release notes
  chore(release-tooling): Add more detailed instructions for after releasing
  chore(release-tooling): Fix PR count message
  fix(crwa): use `fs.renameSync` instead of `fs.rename` (redwoodjs#9787)
  ...
  • Loading branch information
dac09 committed Jan 5, 2024
2 parents 655b8f6 + 5734dcc commit 248eac8
Show file tree
Hide file tree
Showing 155 changed files with 21,240 additions and 15,455 deletions.
72 changes: 72 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -701,3 +701,75 @@ jobs:

steps:
- run: echo "Skipped"

crwa:
needs: check

name: 🌲 Create Redwood App
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: ⬢ Enable Corepack
run: corepack enable

- name: ⬢ Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: 🐈 Set up yarn cache
uses: ./.github/actions/set-up-yarn-cache

- name: 🐈 Yarn install
run: yarn install --inline-builds
env:
GITHUB_TOKEN: ${{ github.token }}

- name: 🏗️ Build
run: yarn build

- name: Set up test project
run: |
yarn build:pack
PROJECT_PATH=$(yarn set-up-test-project)
echo "PROJECT_PATH=$PROJECT_PATH" >> $GITHUB_ENV
working-directory: ./packages/create-redwood-app
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false

- name: Set up git
run: |
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
- name: e2e test
run: yarn test e2e
working-directory: ./packages/create-redwood-app
env:
PROJECT_PATH: ${{ env.PROJECT_PATH }}

- name: Prompt tests
run: |
sudo apt-get update
sudo apt-get install expect
./tests/e2e_prompts.sh
./tests/e2e_prompts_git.sh
./tests/e2e_prompts_m.sh
./tests/e2e_prompts_ts.sh
./tests/e2e_prompts_overwrite.sh
working-directory: ./packages/create-redwood-app
env:
PROJECT_PATH: ${{ env.PROJECT_PATH }}

crwa-skip:
needs: detect-changes
if: needs.detect-changes.outputs.onlydocs == 'true'

name: 🌲 Create Redwood App
runs-on: ubuntu-latest

steps:
- run: echo "Skipped"
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ blog-test-project/*
.pnp.*
*.code-workspace
.nova
packages/**/redwoodjs-*.tgz
packages/create-redwood-app/create-redwood-app.tgz

# For esbuild.
**/meta.json
Expand Down
Loading

0 comments on commit 248eac8

Please sign in to comment.