-
-
Notifications
You must be signed in to change notification settings - Fork 718
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
upload benchmarks_generated.js for releases as part of the release workflow #911
Conversation
Bundle size report: Size Change: 0 B
ℹ️ View DetailsNo major changes |
You can test this by adding a manual trigger to the upload benchmark yml, this way you can test that the latest is being uploaded. |
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.
This is good, please see my comment about adding a manual trigger.
I'm quite sure upload-benchmarks.yml is ok, as I only remove steps which where never run anyway. I'm a little bit less sure about the release workflow. I don't want to accidentally do a release :-) |
You can create a pre release maybe? |
Ok, thanks for the review. I'll check if it worked after the next release. |
@xabbu42 This is the output we got from the release workflow. |
seems to have worked ok, the only small issue I see is that we now have 2 commits against gh-pages with the exact same commit message "deploy: f47e53c". we should change the commit message for the release workflow to something like "deploy: v2.1.1". |
good idea. Are these warnings about missing directory and path irrelevant? |
also I forgot to set BENCHMARK_VERSION, so it says "main f47e53c" instead of "v2.1.1". |
I don't know. Perhaps I can look into it tomorrow. |
The warnings about missing directory are a problem with the action we use and can safely be ignored. I opened a pull request to avoid it: peaceiris/actions-gh-pages#698 |
This hopefully fixes #861.
I'm not sure how to test workflows locally so this is as yet untested.