◐ Shell
clean mode source ↗

tools: remove undici from daily wpt.fyi job · nodejs/node@fe2d6d4

Original file line numberDiff line numberDiff line change

@@ -96,31 +96,6 @@ jobs:

9696

echo "WPT_REPORT=$(pwd)/out/wpt/wptreport.json" >> $GITHUB_ENV

9797

fi

9898
99-

# undici WPT Runner

100-

- name: Set env.UNDICI_VERSION

101-

if: ${{ env.WPT_REPORT != '' }}

102-

run: echo "UNDICI_VERSION=v$(jq -r '.version' < deps/undici/src/package.json)" >> $GITHUB_ENV

103-

- name: Remove deps/undici

104-

if: ${{ env.WPT_REPORT != '' }}

105-

run: rm -rf deps/undici

106-

- name: Checkout undici

107-

if: ${{ env.WPT_REPORT != '' }}

108-

uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

109-

with:

110-

repository: nodejs/undici

111-

persist-credentials: false

112-

path: deps/undici

113-

clean: false

114-

ref: ${{ env.UNDICI_VERSION }}

115-

- name: Add undici WPTs to the report

116-

if: ${{ env.WPT_REPORT != '' }}

117-

run: |

118-

rm -rf test/wpt/tests

119-

mv ../../test/fixtures/wpt/ test/wpt/tests/

120-

npm install

121-

npm run test:wpt || true

122-

working-directory: deps/undici

123-
12499

# Upload artifacts

125100

- name: Clone report for upload

126101

if: ${{ env.WPT_REPORT != '' }}