From 7628ff9eaea31ea8507512f2a13d1d884910ee06 Mon Sep 17 00:00:00 2001 From: Tee Ming Chew Date: Tue, 22 Sep 2026 00:00:13 +0800 Subject: [PATCH 1/2] Update platform-test.yml --- .github/workflows/platform-test.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/platform-test.yml b/.github/workflows/platform-test.yml index f7bce2859bfa..c4f595d4689f 100644 --- a/.github/workflows/platform-test.yml +++ b/.github/workflows/platform-test.yml @@ -33,6 +33,7 @@ defaults: jobs: build: + name: ${{ inputs.variant }} build runs-on: ubuntu-latest timeout-minutes: 15 steps: @@ -74,7 +75,8 @@ jobs: mkdir -p "$APP/.netlify/v1/node_modules/@sveltejs/kit" cp -r packages/kit/package.json packages/kit/src "$APP/.netlify/v1/node_modules/@sveltejs/kit" - - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + - name: Upload build output + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: ${{ inputs.platform }}-${{ inputs.variant }} # whichever of these the adapter wrote, relative to the test app @@ -82,17 +84,20 @@ jobs: ${{ env.APP }}/build ${{ env.APP }}/.netlify ${{ env.APP }}/.vercel + ${{ env.APP }}/vercel.json include-hidden-files: true if-no-files-found: error retention-days: 1 deploy: needs: build + name: ${{ inputs.variant }} deploy runs-on: ubuntu-latest timeout-minutes: 15 environment: '@sveltejs/adapter-${{ inputs.platform }} platform tests' steps: - - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 + - name: Get the build output + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: ${{ inputs.platform }}-${{ inputs.variant }} @@ -137,7 +142,8 @@ jobs: env: *vercel-secrets run: vercel cache purge --type cdn --token="$VERCEL_TOKEN" --yes - - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + - name: Store the deployment URL + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: ${{ inputs.platform }}-${{ inputs.variant }}-url path: url @@ -146,6 +152,7 @@ jobs: test: needs: deploy + name: ${{ inputs.variant }} test runs-on: ubuntu-latest timeout-minutes: 15 steps: @@ -158,12 +165,14 @@ jobs: run: pnpm playwright install chromium --no-shell # some tests inspect the build output - - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 + - name: Get the build output + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: ${{ inputs.platform }}-${{ inputs.variant }} path: ${{ env.APP }} - - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 + - name: Get the deployment URL + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: ${{ inputs.platform }}-${{ inputs.variant }}-url path: ${{ runner.temp }} From 8abd2336e0b5f075b15accca2a0b11be249b1ef1 Mon Sep 17 00:00:00 2001 From: Tee Ming Date: Tue, 22 Sep 2026 21:28:18 +0800 Subject: [PATCH 2/2] Apply suggestion from @teemingc --- .github/workflows/platform-test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/platform-test.yml b/.github/workflows/platform-test.yml index c4f595d4689f..f983c51a37e2 100644 --- a/.github/workflows/platform-test.yml +++ b/.github/workflows/platform-test.yml @@ -84,7 +84,6 @@ jobs: ${{ env.APP }}/build ${{ env.APP }}/.netlify ${{ env.APP }}/.vercel - ${{ env.APP }}/vercel.json include-hidden-files: true if-no-files-found: error retention-days: 1