File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 3535 required : true
3636 type : string
3737 default : " vitejs/vite"
38+ vite_plugin_react_ref :
39+ description : " vite-plugin-react ref to use"
40+ type : string
41+ vite_plugin_react_repo :
42+ description : " vite-plugin-react repository to use"
43+ type : string
3844 suite :
3945 description : " testsuite to run"
4046 required : true
97103 --repo ${{ inputs.repo }}
98104 ${{ inputs.suite }}
99105 id: ecosystem-ci-run
106+ env:
107+ VITE_PLUGIN_REACT_REF: ${{ inputs.vite_plugin_react_ref }}
108+ VITE_PLUGIN_REACT_REPO: ${{ inputs.vite_plugin_react_repo }}
100109 - if : always() && (inputs.sendDiscordReport || github.event_name != 'workflow_dispatch')
101110 run : pnpm tsx discord-webhook.ts
102111 env :
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ import type { RunOptions } from '../types.d.ts'
44export async function build ( options : RunOptions ) {
55 return runInRepo ( {
66 ...options ,
7- repo : 'vitejs/vite-plugin-react' ,
7+ repo : process . env . VITE_PLUGIN_REACT_REPO || 'vitejs/vite-plugin-react' ,
8+ branch : process . env . VITE_PLUGIN_REACT_REF || 'main' ,
89 build : 'build' ,
910 } )
1011}
You can’t perform that action at this time.
0 commit comments