Skip to content

Commit

Permalink
fix: added build step to release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jairmilanes committed Oct 28, 2022
1 parent 759e6f9 commit 8410416
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
- run: npm ci
if: ${{ steps.release.outputs.release_created }}

- run: npm run build
if: ${{ steps.release.outputs.release_created }}

- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
Expand Down
5 changes: 4 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
"packages": {
".": {
"changelog-path": "CHANGELOG.md",
"package-name": "hotbars",
"release-type": "node",
"target-branch": "master",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false,
"draft": false,
"prerelease": false
"prerelease": false,
"initial-version": "1.0.0",
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
Expand Down

0 comments on commit 8410416

Please sign in to comment.