Build static site with Node.js and deploy to Netlify
Go to your Netlify dashboard and select Add new site, then choose Import an existing project and follow the instruction to connect with your GitHub repository.
Set the following Publish settings:
Build command
pnpm run generate
Copied!
Publish directory
generated
Copied!
Congratulations! Pushing to GitHub should now deploy your static site to Netlify.