-
Notifications
You must be signed in to change notification settings - Fork 89
ci(e2e-report): support generating report site for version other than latest #2540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
rm e2e-report/data/test-results.json | ||
gh run download ${{ steps.get-run-id.outputs.runId }} -n "latest-test-results.json" -D e2e-report/data/ --repo $GITHUB_REPOSITORY | ||
version="${{ inputs.version }}" | ||
version=${version:-latest} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need a second layer of defaulting here because the scheduled run won't have the workflow_dispatch default populated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True, but we can have it manual only just so we can do first release, and then fix this.
I don't think we're ready to automatically deploy on a schedule yet, in terms of test stability. Would be great to have a deploy preview automatically though (so then it's much easier to evaluate before manual release)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To clarify for anyone reading this: this job already runs on a schedule and only ever creates deploy previews. We publish deploys to production manually in the Netlify UI.
📊 Package size report No changes
Unchanged files
🤖 This report was automatically generated by pkg-size-action |
ae2d3f2
to
045e12d
Compare
This replaces the hardcoded Next.js "latest" version with an optional selector input. While I was at it, I clarified some confusing aspects of this setup. It's tripped up multiple people already.
045e12d
to
1aacb81
Compare
Description
This replaces the hardcoded Next.js "latest" version with an optional selector input.
While I was at it, I clarified some confusing aspects of this setup. It's tripped up multiple people already.
Documentation
N/A
Tests
When you make changes to a manual workflow setup, you can't see it reflected in the UI until you merge. However, I was able to use the GitHub CLI to manually trigger workflows against this branch's version of the workflow and it worked:
This resulted in these runs, respectively:
Relevant links (GitHub issues, etc.) or a picture of cute animal
N/A