-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update react-sdk version #216
Merged
Merged
Changes from 27 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
fd5fb5f
[feat] refactor the package publication workflow (#152)
AndyBoWu 4320c22
[test] create release (#153)
AndyBoWu 3798d25
[feature] remove legacy workflow to create gh release (#157)
AndyBoWu 7951c9c
Test/create release workflow (#155)
AndyBoWu b96a5f7
Update publish-package.yaml (#158)
AndyBoWu e74cd70
[fix] add condition check back
AndyBoWu a062443
Merge pull request #166 from storyprotocol/fix/add_condition_check_back
edisonz0718 bdfbc4e
Merge pull request #164 from storyprotocol/dev
edisonz0718 0f7eae1
Merge pull request #170 from storyprotocol/dev
edisonz0718 36e3d06
Fix CI syntax issue
edisonz0718 d5bf3f0
Merge pull request #171 from storyprotocol/fix-ci-syntax-issue
edisonz0718 efc2702
Merge pull request #176 from storyprotocol/dev
edisonz0718 85646df
Cenevan demo (#195)
cenevan 41b1ade
Update test-slack-notifs.yml (#196)
cenevan dc2d348
Changed description and title for demo (#197)
cenevan 65f9acc
Merge pull request #200 from storyprotocol/dev
edisonz0718 1a7d208
Merge pull request #207 from storyprotocol/dev
edisonz0718 ddfa155
Update publish-package.yml (#193)
cenevan f8908bb
Merge pull request #209 from storyprotocol/dev
edisonz0718 d7367a0
Update publish-package.yaml (#211)
cenevan 0393af4
Merge pull request #215 from storyprotocol/dev
edisonz0718 d1b4685
Update publish-package.yaml (#217)
cenevan a81f555
Bump up react sdk to 0.0.1
bonnie57 5ac3cc1
Make react-sdk test's timeout longer
bonnie57 baf2645
Update publish-package.yaml
bonnie57 63571f3
Update @story-protocol/[email protected] in react sdk
bonnie57 31a3fb9
Fix nonce issue when run integration test
bonnie57 6c4520d
Update style when run npm run generate command
bonnie57 afb483b
Skip test about Non-Commercial Remix
bonnie57 231efb2
Upgrade pnpm/action-setup version
bonnie57 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: test slack notifications | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
call-slack-notif: | ||
uses: cenevan/gha-workflows/.github/workflows/reusable-slack-notifs.yml@main | ||
with: | ||
short-desc: 'https://www.npmjs.com/package/@story-protocol/core-sdk/v/1.0.0-rc.11' | ||
title: 'Core SDK Package Published' | ||
img-url: 'https://i.imgur.com/eqfFZRb.jpeg' | ||
img-alt-text: 'Test alt text' | ||
secrets: | ||
channel-name: ${{ secrets.SLACK_CHANNEL_ID_STORY_57BLOCKS }} | ||
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enhance Error Handling for Fetching SDK Versions
While the script correctly fetches the latest SDK versions from NPM, it lacks robust error handling for the case where the npm view command fails. This can be critical to ensure the workflow does not proceed with incorrect or undefined version data.
Committable suggestion