File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
packages/workers-playground/src/QuickEditor Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @cloudflare/workers-playground " : patch
3+ ---
4+
5+ Use updated VSCode version
Original file line number Diff line number Diff line change 4646 with :
4747 node-version : 22
4848
49+ - name : Install grep
50+ run : brew install grep
51+
4952 - name : Build tools and libraries
5053 run : pnpm run build
5154 env :
5760 run : |
5861 output=$(pnpm --filter @cloudflare/chrome-devtools-patches run deploy)
5962 echo "Extracting deployed URL from command output"
60- url=$(echo "$output" | grep -oP 'Take a peek over at \K\S+')
63+ url=$(echo "$output" | ggrep -oP 'Take a peek over at \K\S+')
6164 echo "Extracted URL: $url"
6265 echo "VITE_DEVTOOLS_PREVIEW_URL=$url" >> $GITHUB_ENV
6366 env :
@@ -73,10 +76,11 @@ jobs:
7376
7477 - name : Deploy Workers Playground preview
7578 if : contains(github.event.*.labels.*.name, 'preview:workers-playground')
79+ shell : bash
7680 run : |
7781 output=$(pnpm --filter workers-playground run build:testing && pnpm --filter workers-playground run deploy)
7882 echo "Extracting deployed URL from command output"
79- url=$(echo "$output" | grep -oP 'Take a peek over at \K\S+')
83+ url=$(echo "$output" | ggrep -oP 'Take a peek over at \K\S+')
8084 echo "Extracted URL: $url"
8185 echo "PLAYGROUND_URL=$url" >> $GITHUB_ENV
8286 env :
Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ function stripSlashPrefix(path: string) {
1515 return path [ 0 ] === "/" ? path . slice ( 1 ) : path ;
1616}
1717
18- const quickEditHost = "https://quick-edit.devprod.cloudflare.dev" ;
18+ const quickEditHost =
19+ "https://e98a7604.quick-edit-workers.devprod.cloudflare.dev" ;
1920
2021function constructVSCodeURL ( serviceId : string , baseURL : string ) {
2122 const workerPath = `cfs:/${ serviceId } ` ;
You can’t perform that action at this time.
0 commit comments