Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci-rsc.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: ci-rsc

Check warning on line 1 in .github/workflows/ci-rsc.yml

View workflow job for this annotation

GitHub Actions / copilot

1:1 [document-start] missing document start "---"

permissions: {}

on:

Check warning on line 5 in .github/workflows/ci-rsc.yml

View workflow job for this annotation

GitHub Actions / copilot

5:1 [truthy] truthy value should be one of [false, true]
workflow_dispatch:
push:
branches:
Expand All @@ -12,6 +12,9 @@
- "packages/plugin-rsc/**"
- "pnpm-lock.yaml"
- ".github/workflows/ci-rsc.yml"
schedule:
# Run daily at 00:00 UTC to test canary/experimental React versions
- cron: "0 0 * * *"

concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
Expand All @@ -22,7 +25,7 @@
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

Check failure on line 28 in .github/workflows/ci-rsc.yml

View workflow job for this annotation

GitHub Actions / copilot

28:81 [line-length] line too long (81 > 80 characters)

Check warning on line 28 in .github/workflows/ci-rsc.yml

View workflow job for this annotation

GitHub Actions / copilot

28:74 [comments] too few spaces before comment: expected 2
- uses: actions/setup-node@v5
with:
node-version: 22
Expand All @@ -33,7 +36,7 @@

test-e2e:
name: test-rsc (${{ matrix.os }} / ${{ matrix.browser }}) ${{ matrix.rolldown == true && '(rolldown)' || '' }} ${{ matrix.react_version && format('(react-{0})', matrix.react_version) || '' }}
runs-on: ${{ matrix.os }}

Check failure on line 39 in .github/workflows/ci-rsc.yml

View workflow job for this annotation

GitHub Actions / copilot

39:81 [line-length] line too long (195 > 80 characters)
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
Expand All @@ -58,7 +61,7 @@
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
- uses: actions/setup-node@v5

Check failure on line 64 in .github/workflows/ci-rsc.yml

View workflow job for this annotation

GitHub Actions / copilot

64:81 [line-length] line too long (81 > 80 characters)

Check warning on line 64 in .github/workflows/ci-rsc.yml

View workflow job for this annotation

GitHub Actions / copilot

64:74 [comments] too few spaces before comment: expected 2
with:
node-version: 22
- run: pnpm i
Expand All @@ -66,9 +69,9 @@
if: ${{ matrix.react_version }}
run: |
sed -i "/^overrides:/a\ react: \"$REACT_VERSION\"" pnpm-workspace.yaml
sed -i "/^overrides:/a\ react-dom: \"$REACT_VERSION\"" pnpm-workspace.yaml

Check failure on line 72 in .github/workflows/ci-rsc.yml

View workflow job for this annotation

GitHub Actions / copilot

72:81 [line-length] line too long (81 > 80 characters)
sed -i "/^overrides:/a\ react-server-dom-webpack: \"$REACT_VERSION\"" pnpm-workspace.yaml

Check failure on line 73 in .github/workflows/ci-rsc.yml

View workflow job for this annotation

GitHub Actions / copilot

73:81 [line-length] line too long (85 > 80 characters)
pnpm i --no-frozen-lockfile

Check failure on line 74 in .github/workflows/ci-rsc.yml

View workflow job for this annotation

GitHub Actions / copilot

74:81 [line-length] line too long (100 > 80 characters)
env:
REACT_VERSION: ${{ matrix.react_version }}
- run: pnpm build
Expand All @@ -76,7 +79,7 @@
if: ${{ matrix.rolldown }}
run: |
sed -i '/^overrides:/a\ vite: "npm:rolldown-vite@latest"' pnpm-workspace.yaml
pnpm i --no-frozen-lockfile

Check failure on line 82 in .github/workflows/ci-rsc.yml

View workflow job for this annotation

GitHub Actions / copilot

82:81 [line-length] line too long (88 > 80 characters)
- run: pnpm -C packages/plugin-rsc exec playwright install "$BROWSER_NAME"
shell: bash
env:
Expand All @@ -89,6 +92,6 @@
if: always()
with:
name: test-results-${{ matrix.os }}-${{ matrix.browser }}${{ matrix.rolldown == true && '-rolldown' || '' }}${{ matrix.react_version && format('-react-{0}', matrix.react_version) || '' }}
path: |

Check failure on line 95 in .github/workflows/ci-rsc.yml

View workflow job for this annotation

GitHub Actions / copilot

95:81 [line-length] line too long (197 > 80 characters)
packages/plugin-rsc/test-results
if-no-files-found: ignore