Skip to content

Commit b02e2b2

Browse files
author
Hudson Xing
committed
Add unit test and e2e test placeholders to build workflow
1 parent 726858b commit b02e2b2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ jobs:
3131
- name: Check CSP configuration in webClientServer.ts
3232
run: |
3333
TARGET_FILE="patched-vscode/src/vs/server/node/webClientServer.ts"
34-
REQUIRED_TEXT="connect-src 'self' ws: wss: https://main.vscode-cdn.net http://localhost:* https://localhost:* https://login.microsoftonline.com/ https://update.code.visualstudio.com https://.vscode-unpkg.net/ https://default.exp-tas.com/vscode/ab https://vscode-sync.trafficmanager.net https://vscode-sync-insiders.trafficmanager.net https://.gallerycdn.vsassets.io https://marketplace.visualstudio.com https://.blob.core.windows.net https://az764295.vo.msecnd.net https://code.visualstudio.com https://.gallery.vsassets.io https://.rel.tunnels.api.visualstudio.com wss://.rel.tunnels.api.visualstudio.com https://.servicebus.windows.net/ https://vscode.blob.core.windows.net https://vscode.search.windows.net https://vsmarketplacebadges.dev https://vscode.download.prss.microsoft.com https://download.visualstudio.microsoft.com https://.vscode-unpkg.net https://open-vsx.org;"
35-
34+
REQUIRED_TEXT="connect-src 'self' ws: wss: https://main.vscode-cdn.net http://localhost:* https://localhost:* https://login.microsoftonline.com/ https://update.code.visualstudio.com https://*.vscode-unpkg.net/ https://default.exp-tas.com/vscode/ab https://vscode-sync.trafficmanager.net https://vscode-sync-insiders.trafficmanager.net https://*.gallerycdn.vsassets.io https://marketplace.visualstudio.com https://*.blob.core.windows.net https://az764295.vo.msecnd.net https://code.visualstudio.com https://*.gallery.vsassets.io https://*.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com https://*.servicebus.windows.net/ https://vscode.blob.core.windows.net https://vscode.search.windows.net https://vsmarketplacebadges.dev https://vscode.download.prss.microsoft.com https://download.visualstudio.microsoft.com https://*.vscode-unpkg.net https://open-vsx.org;"
3635
if grep -F "$REQUIRED_TEXT" "$TARGET_FILE" > /dev/null; then
3736
echo "✅ PASS: Required CSP text exists."
3837
else

0 commit comments

Comments
 (0)