I can push to the firebase live site with "firebase deploy" command in terminal just fine, however when I want to push to main so it auto updates this is what is displayed on the deploy failed on Github
Run yarn build
yarn run v1.22.19
$ react-scripts build
Creating an optimized production build...
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports