thuglabs / create-dapp-solana-nextjs

Scaffolding for a Solana dapp using TS, Next.JS, Tailwinds CSS, and Daisy UI
https://create-dapp-solana-nextjs.vercel.app
MIT License
359 stars 181 forks source link

Run prebuild on git push #2

Closed jamland closed 2 years ago

jamland commented 2 years ago

In case of failed build vercel will fail to update env with committed code. As a solution husky can be installed. So on each push husky will try build code to check if it successful .

Alternatively, it can be done with GitHub actions on PR opened / updated.