Skip to content

Commit

Permalink
test publish notification locally
Browse files Browse the repository at this point in the history
  • Loading branch information
e11sy committed Aug 23, 2024
1 parent 78948ea commit c110fe6
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ jobs:
yarn publish:ci
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NOTIFY_WEBHOOK: ${{ secrets.CODEX_BOT_NOTIFY_EDITORJS_PUBLIC_CHAT }}
# NOTIFY_WEBHOOK: ${{ secrets.CODEX_BOT_NOTIFY_EDITORJS_PUBLIC_CHAT }}
NOTIFY_WEBHOOK: https://notify.bot.codex.so/u/U8S04KRK5R51
2 changes: 1 addition & 1 deletion packages/caret/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Utils useful for work with caret for Editor.js tools development",
"repository": "https://github.com/editor-js/utils/tree/main/packages/caret",
"link": "https://github.com/editor-js/utils/tree/main/packages/caret",
"version": "0.0.9",
"version": "0.0.10",
"main": "dist/index.js",
"license": "MIT",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Utils useful for work with dom for Editor.js tools development",
"repository": "https://github.com/editor-js/utils/tree/main/packages/dom",
"link": "https://github.com/editor-js/utils/tree/main/packages/dom",
"version": "0.0.9",
"version": "0.0.10",
"main": "dist/index.js",
"license": "MIT",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Utils useful for Editor.js tools development",
"repository": "https://github.com/editor-js/utils/tree/main/packages/helpers",
"link": "https://github.com/editor-js/utils/tree/main/packages/helpers",
"version": "0.0.9",
"version": "0.0.10",
"main": "dist/index.js",
"license": "MIT",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/keyboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Utils useful for work with keyboard for Editor.js tools development",
"repository": "https://github.com/editor-js/utils/tree/main/packages/keyboard",
"link": "https://github.com/editor-js/utils/tree/main/packages/keyboard",
"version": "0.0.9",
"version": "0.0.10",
"main": "dist/index.js",
"license": "MIT",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions scripts/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ for (const { name, version, link } of packages) {
},
body: new URLSearchParams({
message: `📦 [${name}](${link}) ${version} was published`,
// eslint-disable-next-line @typescript-eslint/naming-convention
parse_mode: 'Markdown',
}),
})
.catch(error => console.error('Error:', error));
Expand Down

0 comments on commit c110fe6

Please sign in to comment.