Skip to content

Commit

Permalink
fix: checking semantic github action
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhadip committed Sep 8, 2023
1 parent f1d5f68 commit 01fe097
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,15 @@ jobs:
CI: true

- name: Publish
uses: codfish/semantic-release-action@v2
with:
additional_packages: |
[
'conventional-changelog-conventionalcommits',
'@semantic-release/changelog',
'@google/semantic-release-replace-plugin',
'@semantic-release/git',
]
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release --debug
9 changes: 1 addition & 8 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,7 @@
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "dist"
}
]
}
"@semantic-release/github"
],
[
"@semantic-release/git",
Expand Down
4 changes: 2 additions & 2 deletions src/lib/app-button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ export const AppButton = (props: IButtonProps): JSX.Element => {
) : null}
{props.isLoading ? (
<span className="text-base w-full text-center text-white">{`Loading ...`}</span>
) : (
) : props.title ? (
<RenderTitle title={props.title} customTitleClass={props.customTitleClass} />
)}
) : null}
{props.showRightIcon ? (
<span className={[styles.righticonClass, props.customRightIconClass].join(' ')}>
{props.rightIcon}
Expand Down

0 comments on commit 01fe097

Please sign in to comment.