Skip to content

Commit

Permalink
feat: document 145, and re-add npm publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Dec 23, 2022
1 parent 14819bc commit 4df06c6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Expand Up @@ -42,6 +42,7 @@ jobs:
github-token: ${{ secrets.ACCESS_TOKEN }}
# Note: keep this inline script in sync with script/setup.js!
# Todo: it would be nice to not have two sources of truth...
# https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues/145
script: |
github.request(
`PUT /repos/JoshuaKGoldberg/template-typescript-node-package/branches/main/protection`,
Expand Down
3 changes: 0 additions & 3 deletions .release-it.json
Expand Up @@ -6,9 +6,6 @@
"release": true,
"releaseName": "v${version}"
},
"npm": {
"publish": false
},
"plugins": {
"@release-it/conventional-changelog": {
"header": "# Changelog",
Expand Down
1 change: 1 addition & 0 deletions script/setup.js
Expand Up @@ -199,6 +199,7 @@ try {

// Note: keep this inline script in sync with .github/workflows/release.yml!
// Todo: it would be nice to not have two sources of truth...
// https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues/145
await octokit.request(
`PUT /repos/${owner}/${repository}/branches/main/protection`,
{
Expand Down

0 comments on commit 4df06c6

Please sign in to comment.