NotionX / react-notion-x

Fast and accurate React renderer for Notion. TS batteries included. ⚡️
https://react-notion-x-demo.transitivebullsh.it
MIT License
4.69k stars 544 forks source link

Add Github Action workflow to publish releases automatically to NPM registry. Fixes #537 #538

Open onnimonni opened 5 months ago

onnimonni commented 5 months ago

Description

This adds Github Action to automatically release new git tags into npm registry.

I noticed that the Notion search has been broken for a while from this issue: https://github.com/transitive-bullshit/nextjs-notion-starter-kit/issues/546

@danni-cool wrote a nice blog post about this problem here: https://danni.cool/fixed-the-broken-search-in-nextjs-notion-starter-kit

If we would automatically deploy the new git tags into npm we wouldn't need to create patches like he is proposing.

Fixes #537.

Steps to do before merging ❗

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
react-notion-x ✅ Ready (Inspect) Visit Preview Jan 30, 2024 11:10am
react-notion-x-minimal-demo ✅ Ready (Inspect) Visit Preview Jan 30, 2024 11:10am
rimonhanna commented 2 months ago

@transitive-bullshit