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
I noticed that the execution time of your action takes around 25 seconds which seems quite a lot for such a simple thing.
In the logs, I found that only the container build process takes 22 seconds. When the actual action execution takes less than a second. See screenshot below.
In order to do that you just need to keep one compiled execution file with all the dependencies in your repo. And such a tool like ncc can easily help you with that.
And that's important as my application container build takes almost the same time. I don't talk about the linter which pulls the code, installs all the dependencies, and lints all the code for twice less time than I lint my PR name.
The text was updated successfully, but these errors were encountered:
I noticed that the execution time of your action takes around 25 seconds which seems quite a lot for such a simple thing.
In the logs, I found that only the container build process takes 22 seconds. When the actual action execution takes less than a second. See screenshot below.
By using JavaScript action instead of Docker container action you can get rid of those 22 seconds of the build time and speed up your action significantly.
In order to do that you just need to keep one compiled execution file with all the dependencies in your repo. And such a tool like ncc can easily help you with that.
And that's important as my application container build takes almost the same time. I don't talk about the linter which pulls the code, installs all the dependencies, and lints all the code for twice less time than I lint my PR name.
The text was updated successfully, but these errors were encountered: