The experiment was a success! Using Github actions, I followed the normal workflow described in the previously mentioned Vercel documentation, but added two beginning commands for npm install --global tsup typescript
and npm run build
, which creates the app
folder with compiled javascript files. It pulls that in and correctly figures out it should be a serverless function. So glad I’m able to get it all set up without having to check in build files!
My one outstanding problem is that the integration is still kicking off its build before the Github action. How do I go about preventing that from happening while still properly keeping the project linked? And would I still be able to get the nice integration that happens for pull requests?