-
Notifications
You must be signed in to change notification settings - Fork 352
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
Add build & diff "/dist" folder workflow #706
Comments
It would be a good improvement to add this. I have a few other suggestions for restructuring main.yml when you get to this point, like removing the redundant build with multiple node versions and taking the |
Possibly this should be implemented together with branch protection rules. I don't have visibility into the rules, since I'm only a Contributor, but it seems that they are currently quite lax. |
current master branch rules dictate:
|
I based a new workflow on the workflow: check-dist.yml from the GitHub repo actions/javascript-action as suggested by @jaffrepaul. Create a JavaScript Action is provided as a template by GitHub to "bootstrap the creation of a JavaScript action". I did not use the upload artifact part because I did not find it helpful. In the case of an error the Action log already shows the When the PR is merged it will signal to PR submitters that their PR is incomplete if they have changed index.js without rebuilding the action. The workflow will also signal a problem if bots such as |
|
Done |
Add workflow to build & diff /dist folder on PR merges to avoid not triggering a build when this step is missing
The text was updated successfully, but these errors were encountered: