You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci(e2e-report): fix workflow test results file path
The e2e-report site reads the data file from `e2e-report/data/test-results.json`. The CI workflow
was downloading an artifact called `latest-test-results.json` into the right directory but without
renaming it.
We didn't notice for some time because we have a committed file at the expected, and we'd been
regularly updating it while actively working on the e2e-report site.
While I was at it, I made this a bit clearer and replaced the hardcoded Next.js version with a
selector input.
echo "Downloading ${version} test results from run https://github.com/netlify/next-runtime/actions/runs/${{ steps.get-run-id.outputs.runId }}"
44
+
artifact_name="${version}-test-results.json"
45
+
gh run download ${{ steps.get-run-id.outputs.runId }} -n "${artifact_name}" --repo $GITHUB_REPOSITORY
0 commit comments