-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into renovate/mdx-monorepo
- Loading branch information
Showing
121 changed files
with
3,448 additions
and
1,849 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
- chore(dbAuth): restore behavior of checking whether a search query is present | ||
|
||
Previously dbAuth would check whether or not query string variables were | ||
present at all before invoking the proper function. During a refactor we | ||
updated this code to assume a query would *always* be present. Which it would be | ||
during normal browser behavior. But, we had a complaint from a user who relied | ||
on this optional check in one of their tests. So we're restoring the optional | ||
check here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- PR feat: Send RSC Flight Payload to Studio (10213) by @dthyresson | ||
|
||
This PR sends the rendered RSC payload (aka "flight") to Studio to be ingested, persisted, and fetched. | ||
|
||
Performance and metadata enrichments are performed in order to visualize in Studio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: Set up job | ||
description: > | ||
Everything you need to run a job in CI. | ||
Checkout this repo (redwoodjs/redwood), set up Node.js, yarn install, and build. | ||
inputs: | ||
set-up-yarn-cache: | ||
description: > | ||
For some actions, setting up the yarn cache takes longer than it would to just yarn install. | ||
required: false | ||
default: true | ||
|
||
yarn-install-directory: | ||
description: > | ||
The directory to run `yarn install` in. | ||
required: false | ||
|
||
build: | ||
description: > | ||
Whether or not to run `yarn build` to build all the framework packages. | ||
required: false | ||
default: true | ||
|
||
runs: | ||
using: composite | ||
|
||
steps: | ||
- name: ⬢ Enable Corepack | ||
shell: bash | ||
run: corepack enable | ||
|
||
- name: ⬢ Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|
||
# We have to enable Corepack again for Windows. 🤷 | ||
# In general, we're waiting on [this issue](https://github.com/actions/setup-node/issues/531) | ||
# to be resolved so that `actions/setup-node@v4` has first-class Corepack support. | ||
- name: ⬢ Enable Corepack | ||
if: runner.os == 'Windows' | ||
shell: bash | ||
run: corepack enable | ||
|
||
- name: 🐈 Set up yarn cache | ||
if: inputs.set-up-yarn-cache == 'true' | ||
uses: ./.github/actions/set-up-yarn-cache | ||
|
||
# One of our dependencies is on GitHub instead of NPM and without authentication | ||
# we'll get rate limited and this step becomes flaky. | ||
- name: 🐈 Yarn install | ||
shell: bash | ||
working-directory: ${{ inputs.yarn-install-directory }} | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
run: yarn install --inline-builds | ||
|
||
- name: 🏗️ Build | ||
if: inputs.build == 'true' | ||
shell: bash | ||
run: yarn build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
# See https://github.com/yarnpkg/berry/discussions/2621#discussioncomment-505872. | ||
|
||
name: Set up yarn cache | ||
description: | | ||
Sets up caching for yarn install steps. | ||
description: > | ||
Sets up caching for `yarn install` steps. | ||
Caches yarn's cache directory, install state, and node_modules. | ||
Caching the cache directory avoids yarn's fetch step and caching node_modules avoids yarn's link step. | ||
runs: | ||
using: composite | ||
|
||
steps: | ||
# We try to cache and restore yarn's cache directory and install state to speed up the yarn install step. | ||
# Caching yarn's cache directory avoids its fetch step. | ||
- name: 📁 Get yarn cache directory | ||
- name: 📁 Get yarn's cache directory | ||
id: get-yarn-cache-directory | ||
run: echo "CACHE_DIRECTORY=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT | ||
shell: bash | ||
|
||
# If the primary key doesn't match, the cache will probably be stale or incomplete, | ||
# but still worth restoring for the yarn install step. | ||
- name: ♻️ Restore yarn cache | ||
uses: actions/cache@v3 | ||
- name: ♻️ Restore yarn's cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: ${{ steps.get-yarn-cache-directory.outputs.CACHE_DIRECTORY }} | ||
key: yarn-cache-${{ runner.os }}-${{ hashFiles('yarn.lock', '.yarnrc.yml') }} | ||
restore-keys: yarn-cache-${{ runner.os }} | ||
key: yarn-cache-${{ runner.os }} | ||
save-always: true | ||
|
||
# We avoid restore-keys for these steps because it's important to just start from scratch for new PRs. | ||
- name: ♻️ Restore yarn install state | ||
uses: actions/cache@v3 | ||
- name: ♻️ Restore yarn's install state | ||
uses: actions/cache@v4 | ||
with: | ||
path: .yarn/install-state.gz | ||
key: yarn-install-state-${{ runner.os }}-${{ hashFiles('yarn.lock', '.yarnrc.yml') }} | ||
key: yarn-install-state-${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock', '.yarnrc.yml') }} | ||
save-always: true | ||
|
||
- name: ♻️ Restore node_modules | ||
uses: actions/cache@v3 | ||
uses: actions/cache@v4 | ||
with: | ||
path: '**/node_modules' | ||
key: yarn-node-modules-${{ runner.os }}-${{ hashFiles('yarn.lock', '.yarnrc.yml') }} | ||
path: node_modules | ||
key: yarn-node-modules-${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock', '.yarnrc.yml') }} | ||
save-always: true |
This file was deleted.
Oops, something went wrong.
72 changes: 0 additions & 72 deletions
72
.github/actions/update_all_contributors/update_all_contributors.mjs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.