freemium-survey-components 2.0.438 → 2.0.439
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.
- package/.github/workflows/automated-version-bump.yml +11 -0
- package/lib/bundle.css +933 -31
- package/lib/index.cjs.js +4 -4
- package/lib/index.esm.js +7 -7
- package/lib/types/survey/meta-channel-preview/facebook/facebook-mobile-container.d.ts +8 -0
- package/lib/types/survey/meta-channel-preview/facebook/index.d.ts +9 -0
- package/lib/types/survey/meta-channel-preview/question.d.ts +10 -2
- package/lib/types/survey/meta-channel-preview/utils.d.ts +7 -0
- package/package.json +1 -1
|
@@ -278,3 +278,14 @@ jobs:
|
|
|
278
278
|
echo "GitHub release created!"
|
|
279
279
|
env:
|
|
280
280
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
281
|
+
|
|
282
|
+
- name: Notify Slack channel
|
|
283
|
+
if: steps.check_version.outputs.is_version_bump == 'true'
|
|
284
|
+
run: |
|
|
285
|
+
RELEASE_URL="https://github.com/${{ github.repository }}/releases/tag/${{ steps.check_version.outputs.version }}"
|
|
286
|
+
PACKAGE_NAME=$(node -p "require('./package.json').name")
|
|
287
|
+
MESSAGE=":tada: *New Release Published!* \nPackage: *${PACKAGE_NAME}* \nVersion: *${{ steps.check_version.outputs.version }}* \nReleased by: @${{ github.actor }} \n<${RELEASE_URL}|View Release Notes>"
|
|
288
|
+
curl -X POST -H 'Content-type: application/json' --data "{\"text\":\"$MESSAGE\"}" "${{ secrets.SLACK_WEBHOOK_URL }}"
|
|
289
|
+
echo "Slack notification sent!"
|
|
290
|
+
env:
|
|
291
|
+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|