@rimori/react-client 0.3.0-next.1 → 0.3.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -127,3 +127,24 @@ jobs:
|
|
|
127
127
|
echo "✅ Published @rimori/react-client@${{ steps.version.outputs.new_version }} to npm with @next tag"
|
|
128
128
|
echo "Using @rimori/client@${{ steps.client-version.outputs.version }}"
|
|
129
129
|
|
|
130
|
+
- name: Notify Slack
|
|
131
|
+
if: always()
|
|
132
|
+
uses: slackapi/slack-github-action@v1.24.0
|
|
133
|
+
with:
|
|
134
|
+
channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
|
|
135
|
+
payload: |
|
|
136
|
+
{
|
|
137
|
+
"text": "Pre-Release Pipeline Status",
|
|
138
|
+
"blocks": [
|
|
139
|
+
{
|
|
140
|
+
"type": "section",
|
|
141
|
+
"text": {
|
|
142
|
+
"type": "mrkdwn",
|
|
143
|
+
"text": "📦 *@rimori/react-client Pre-Release*\n\n*Repository:* ${{ github.repository }}\n*Branch:* ${{ github.ref_name }}\n*Status:* ${{ job.status }}\n*Version:* ${{ steps.version.outputs.new_version }}\n*Using @rimori/client:* ${{ steps.client-version.outputs.version }}\n*Commit:* ${{ github.sha }}\n*Author:* ${{ github.actor }}\n*Pipeline:* <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Run>\n\n${{ job.status == 'success' && '✅ Successfully published to npm with @next tag!' || '❌ Pipeline failed. Check the logs for details.' }}"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
env:
|
|
149
|
+
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
|
|
150
|
+
|
package/package.json
CHANGED