File tree Expand file tree Collapse file tree 4 files changed +20
-1
lines changed Expand file tree Collapse file tree 4 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 2323 - name : Release
2424 env :
2525 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
2627 run : npx semantic-release@17
Original file line number Diff line number Diff line change 1+ {
2+ "plugins" : [
3+ " @semantic-release/commit-analyzer" ,
4+ " @semantic-release/release-notes-generator" ,
5+ " @semantic-release/github" ,
6+ [
7+ " @semantic-release/npm" ,
8+ {
9+ "npmPublish" : true
10+ }
11+ ]
12+ ]
13+ }
Original file line number Diff line number Diff line change @@ -100,6 +100,11 @@ Supports:
100100
101101 In order to commit in a conventional style conveniently you may run ` npm run commit` .
102102
103+ # # :warning: Disabling publishing to npm
104+
105+ There is a file [.releaserc.json](.releaserc.json) where you can disable publishing your project
106+ to npm on every new semantic release by setting ` npmPublish` option to ` false`
107+
103108# # 🎓 Learning Gatsby
104109
105110Looking for more guidance? Full documentation for Gatsby lives [on the website](https://www.gatsbyjs.org/). Here are some places to start:
Original file line number Diff line number Diff line change 11{
22 "name" : " gatsby-opinionated-starter" ,
33 "description" : " A very opinionated TypeScript netlify-ready gatsby starter" ,
4- "version" : " 1.1.0" ,
4+ "version" : " 1.1.0-semantically-versioned " ,
55 "author" : " Yaroslav Kasperovych <ilovewindows96@gmail.com>" ,
66 "dependencies" : {
77 "@types/react-helmet" : " 6.1.0" ,
You can’t perform that action at this time.
0 commit comments