Skip to content

Commit

Permalink
Merge pull request #22 from bonnie57/bonnie1-test
Browse files Browse the repository at this point in the history
Make react-sdk test's timeout longer
  • Loading branch information
bonnie57 authored Jul 3, 2024
2 parents 62be61d + 544f2c5 commit 9d21029
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
echo "CORE_SDK_LATEST_VERSION=$CORE_SDK_LATEST_VERSION" >> $GITHUB_OUTPUT
echo "Latest version of @story-protocol/react-sdk on NPMJS is $REACT_SDK_LATEST_VERSION"
echo "REACT_SDK_LATEST_VERSION=$REACT_SDK_LATEST_VERSION" >> $GITHUB_OUTPUT
echo "${{secrets.SLACK_BOT_TOKEN}}"
# Fail the PR if the version to be published is the same as the latest version on NPM
fail_if_version_is_same:
Expand Down Expand Up @@ -152,7 +153,8 @@ jobs:
version_to_publish: ${{ needs.print_version_to_publish.outputs.core_sdk_version_to_be_published }}

send_slack_notif-core-sdk:
needs: [build-test-publish, create-release-core-sdk]
needs:
[build-test-publish, create-release-core-sdk, print_version_to_publish]
uses: storyprotocol/gha-workflows/.github/workflows/reusable-slack-notifs.yml@main
with:
short-desc: "${{ github.repository }}: Core-sdk package has been published to NPM Registry, version: ${{ needs.print_version_to_publish.outputs.core_sdk_version_to_be_published}}"
Expand All @@ -173,7 +175,7 @@ jobs:
# version_to_publish: ${{ needs.print_version_to_publish.outputs.react_sdk_version_to_be_published }}

send_slack_notif-react-sdk:
needs: [build-test-publish]
needs: [build-test-publish, print_version_to_publish]
uses: storyprotocol/gha-workflows/.github/workflows/reusable-slack-notifs.yml@main
with:
short-desc: "${{ github.repository }}: React-sdk package has been published to NPM Registry, version: ${{ needs.print_version_to_publish.outputs.react_sdk_version_to_be_published }}"
Expand Down

0 comments on commit 9d21029

Please sign in to comment.