File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ci-rsc
2+ " on " :
3+ push :
4+ branches :
5+ - main
6+ pull_request :
7+
8+ concurrency :
9+ group : ci-${{ github.event.pull_request.number || github.ref }}
10+ cancel-in-progress : true
11+
12+ jobs :
13+ test :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+ - uses : actions/setup-node@v4
18+ with :
19+ node-version : 22
20+ - run : corepack enable
21+ - run : pnpm build
22+ - run : pnpm -C packages/plugin-rsc tsc
23+ - run : pnpm -C packages/plugin-rsc test
24+
25+ test-e2e :
26+ name : test-rsc (${{ matrix.os }} / ${{ matrix.browser }})
27+ runs-on : ${{ matrix.os }}
28+ strategy :
29+ # TODO: shard?
30+ matrix :
31+ os : [ubuntu-latest, macos-latest, windows-latest]
32+ browser : [chromium]
33+ include :
34+ - os : ubuntu-latest
35+ browser : firefox
36+ - os : macos-latest
37+ browser : webkit
38+ fail-fast : false
39+ steps :
40+ - uses : actions/checkout@v4
41+ - uses : actions/setup-node@v4
42+ with :
43+ node-version : 22
44+ - run : corepack enable
45+ - run : pnpm build
46+ - run : pnpm -C packages/plugin-rsc exec playwright install ${{ matrix.browser }}
47+ - run : pnpm -C packages/plugin-rsc test-e2e-ci --project=${{ matrix.browser }}
48+ env :
49+ TEST_ISOLATED : true
50+ - uses : actions/upload-artifact@v4
51+ if : always()
52+ with :
53+ name : test-results-${{ matrix.os }}-${{ matrix.browser }}
54+ path : |
55+ packages/plugin-rsc/test-results
You can’t perform that action at this time.
0 commit comments