Currently we have to manually build and check-in the 'index.js' file of the GitHub action.
The index.js file is a build artifact.
Build artifacts should not be built manually as this can lead to inconsistencies. Furthermore it brings complexity & increases the repository size.
Wanted
The action.yaml currently expects the index.js like
Situation
Currently we have to manually build and check-in the 'index.js' file of the GitHub action. The index.js file is a build artifact. Build artifacts should not be built manually as this can lead to inconsistencies. Furthermore it brings complexity & increases the repository size.
Wanted
The action.yaml currently expects the index.js like
A better solution could be: