@pixpilot/scaffoldfy-configs 0.40.2 → 0.40.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @pixpilot/scaffoldfy-configs
2
2
 
3
+ ## 0.40.3
4
+
5
+ ### Patch Changes
6
+
7
+ - add notification step for release failure
8
+
3
9
  ## 0.40.2
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pixpilot/scaffoldfy-configs",
3
3
  "type": "module",
4
- "version": "0.40.2",
4
+ "version": "0.40.3",
5
5
  "author": "PixPilot <m.doaie@hotmail.com>",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -30,10 +30,10 @@
30
30
  "@types/node": "^22.18.11",
31
31
  "eslint": "^9.38.0",
32
32
  "@internal/eslint-config": "0.3.0",
33
- "@internal/tsdown-config": "0.1.0",
34
- "@pixpilot/scaffoldfy": "0.55.1",
35
33
  "@internal/prettier-config": "0.0.1",
36
- "@internal/vitest-config": "0.1.0"
34
+ "@internal/tsdown-config": "0.1.0",
35
+ "@internal/vitest-config": "0.1.0",
36
+ "@pixpilot/scaffoldfy": "0.55.1"
37
37
  },
38
38
  "prettier": "@internal/prettier-config",
39
39
  "publishConfig": {
@@ -60,3 +60,17 @@ jobs:
60
60
  REGISTRY_TOKEN: ${{ secrets.PIXPILOT_PRIVATE_REGISTRY_TOKEN }}
61
61
  # npm provenance attestation is not supported by npm.pkg.github.com.
62
62
  provenance: 'false'
63
+
64
+ notify:
65
+ name: Notify on Release Failure
66
+ needs: [ci, release]
67
+ if: always()
68
+ runs-on: ubuntu-latest
69
+
70
+ steps:
71
+ - name: Send Telegram notification
72
+ uses: pixpilot/notify-action@v1
73
+ with:
74
+ status: ${{ contains(needs.*.result, 'failure') && 'failure' || contains(needs.*.result, 'cancelled') && 'cancelled' || 'success' }}
75
+ telegram-bot-token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
76
+ telegram-chat-id: ${{ secrets.TELEGRAM_CHAT_ID }}
@@ -48,3 +48,17 @@ jobs:
48
48
  with:
49
49
  GITHUB_TOKEN: ${{ steps.app_token.outputs.token }}
50
50
  provenance: 'true'
51
+
52
+ notify:
53
+ name: Notify on Release Failure
54
+ needs: [ci, release]
55
+ if: always()
56
+ runs-on: ubuntu-latest
57
+
58
+ steps:
59
+ - name: Send Telegram notification
60
+ uses: pixpilot/notify-action@v1
61
+ with:
62
+ status: ${{ contains(needs.*.result, 'failure') && 'failure' || contains(needs.*.result, 'cancelled') && 'cancelled' || 'success' }}
63
+ telegram-bot-token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
64
+ telegram-chat-id: ${{ secrets.TELEGRAM_CHAT_ID }}