File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,10 @@ jobs:
111111 rm -rf test/wpt/tests
112112 mv ../../test/fixtures/wpt/ test/wpt/tests/
113113 npm install
114- npm run test:wpt || true
114+ jq -rc '.scripts["test:wpt"] | split(" && ")[]' package.json | while read -r i; do
115+ i="${i//node /}"
116+ node "$i" || true
117+ done
115118 working-directory : deps/undici
116119
117120 # Upload artifacts
@@ -137,7 +140,7 @@ jobs:
137140 echo "## Node.js ${{ steps.setup-node.outputs.node-version }}" >> $GITHUB_STEP_SUMMARY
138141 echo "" >> $GITHUB_STEP_SUMMARY
139142 echo "WPT Revision: [\`${WPT_REVISION:0:7}\`](https://github.com/web-platform-tests/wpt/commits/$WPT_REVISION)" >> $GITHUB_STEP_SUMMARY
140- for WPT_FYI_ENDPOINT in "https://wpt.fyi/api/results/upload" "https:// staging.wpt.fyi/api/results/upload"
143+ for WPT_FYI_ENDPOINT in "https://staging.wpt.fyi/api/results/upload"
141144 do
142145 response=$(curl -sS \
143146 -u "$WPT_FYI_USERNAME:$WPT_FYI_PASSWORD" \
You can’t perform that action at this time.
0 commit comments