When setting the static site generator to something unsupported (which was useful on older versions to avoid audit-detection) the action crashes with the error "Error: TypeError: error must be an instance of Error" I suspect this is because of this line:
https://github.com/actions/configure-pages/blob/main/src/set-pages-config.js#L86 where a string is thrown rather than an Error
When setting the static site generator to something unsupported (which was useful on older versions to avoid audit-detection) the action crashes with the error "Error: TypeError: error must be an instance of Error" I suspect this is because of this line:
https://github.com/actions/configure-pages/blob/main/src/set-pages-config.js#L86 where a string is thrown rather than an Error