DEV Community

Discussion on: Publish Storybook components to NPM using Semantic Release and Github Actions

Collapse
 
martinmikusat profile image
Martin Mikušát

I did, I looked through the github repository and noticed the npm run build command was replaced by tsc, instead of the original react-scripts build. That's not mentioned in the article.

I don't quite remember if that's all that fixed it though, I think it should. Looking through the repo certainly helped.

Thread Thread
 
sfmskywalker profile image
Sipke Schoorstra

Indeed that helped!
One more thing I had to change was the noEmit setting in "tsconfig.json" to false, as explained here: stackoverflow.com/questions/590557...