Skip to content

Commit

Permalink
doc: updated github readmme
Browse files Browse the repository at this point in the history
  • Loading branch information
gimnathperera committed Sep 24, 2023
1 parent 021bebb commit ffd1a0c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 23 deletions.
5 changes: 5 additions & 0 deletions .changeset/breezy-cows-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@gimnathperera/react-mui-multi-search': minor
---

doc updated
18 changes: 0 additions & 18 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,25 +54,7 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check if version has changed
id: version_check
run: |
previous_version=$(jq -r '.version' package.json)
npm install --no-save
current_version=$(jq -r '.version' package.json)
if [ "$previous_version" != "$current_version" ]; then
echo "Version has changed. Proceeding with npm publish."
echo "::set-output name=version_changed::true"
else
echo "Version has not changed. Skipping npm publish."
echo "::set-output name=version_changed::false"
fi
shell: bash
env:
PREVIOUS_VERSION: ${{ steps.changesets.outputs.version }}

- name: Publish to GitHub Packages
if: steps.version_check.outputs.version_changed == 'true'
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,10 @@ You can suggest new features [here](https://github.com/gimnathperera/react-mui-m
```bash
# npm
npm i @gimnathperera/react-mui-multi-search

or

# yarn
yarn add @gimnathperera/react-mui-multi-search

or

# pnpm
pnpm i @gimnathperera/react-mui-multi-search
```
Expand Down Expand Up @@ -85,7 +81,11 @@ import {MultiSearch} from '@gimnathperera/react-mui-multi-search';
],
filterType: 'SELECT',
},

]}
onSearch={(searchText, filters) => {
console.log(searchText, filters);
}}
/>
```

Expand Down Expand Up @@ -149,7 +149,7 @@ Contributions are welcome! If you have any ideas, bug reports, or feature reques

## License

This project is licensed under the [MIT License](LICENSE).
This project is licensed under the ![License](https://img.shields.io/badge/license-MIT-blue.svg)

#

Expand Down

0 comments on commit ffd1a0c

Please sign in to comment.