Skip to content

Commit

Permalink
ci(gh-actions): run local semantic-release bin
Browse files Browse the repository at this point in the history
  • Loading branch information
duddu committed May 4, 2024
1 parent a6d20dd commit 1e83b82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ github.token }}
run: |
npx semantic-release \
npm run release \
| grep --color -Ei "the next release version is|$" \
|| gh run cancel ${{ github.run_id }} && sleep 3
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"watch": "npm run link && nodemon",
"prettier": "prettier -w .",
"typedoc": "typedoc",
"release": "semantic-release",
"prepublishOnly": "npm audit signatures && npm run lint && npm run test && npm run build"
},
"devDependencies": {
Expand Down

0 comments on commit 1e83b82

Please sign in to comment.