As github workflows run parallelly, there is no guarantee that the build will execute just before this script gets started.
This PR will fix this issue by adding a mandatory build step so that it will build all the needed packages to run before playwright runs the above step.
Description
Problem: The PR pipeline fails randomly due to a weird error. Ex: failure action
After research, we found that to run this below script, we need the necessary packages to be
build
before to run this.https://github.com/momentum-design/momentum-design/blob/0e45a7bf8f646476012297d8c22a0507ebfd6901/packages/components/package.json#L43
As github workflows run parallelly, there is no guarantee that the build will execute just before this script gets started.
This PR will fix this issue by adding a mandatory
build step
so that it will build all the needed packages to run beforeplaywright
runs the above step.Here is the successful output:
Credits to
act
by https://github.com/nektos/act.With the help of this, we were able to find the reason behind this error.
Links