https://github.com/PoulainMaxime/githubActionBuildJS/blob/3ac71074803791b6390c2580b409e2805315b295/entrypoint.sh#L9-L10 As you allow to use another folder by setting the `path` parameter, what about using this code to change directory first (https://github.com/elstudio/actions-js-build/blob/master/build/entrypoint.sh#L15-L19), then use `npm install` & `npm run build` for all cases?