Skip to content

Commit

Permalink
Add a git push to the publish step
Browse files Browse the repository at this point in the history
This way pushing we don't forget to push during a publish, and end up with code in npm not in github.
  • Loading branch information
bcomnes committed Sep 14, 2023
1 parent effd6e8 commit 9ececc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"prepare": "npm run lint",
"prepublishOnly": "git push --follow-tags",
"lint": "standard -v",
"test": "standard && esbuild --format=esm --bundle _test/index.js | tape-run",
"test:ci": "esbuild --format=esm --bundle _test/index.js | tape-run",
Expand Down

0 comments on commit 9ececc2

Please sign in to comment.