Skip to content

Commit

Permalink
Merge pull request editor-js#40 from editor-js/remove-bundle
Browse files Browse the repository at this point in the history
Remove bundle
  • Loading branch information
talyguryn authored Nov 17, 2020
2 parents 749cf0f + 07824e4 commit 94d7101
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
registry-url: https://registry.npmjs.org/
- run: yarn
- run: yarn build
- run: yarn publish --access=public
Expand All @@ -24,8 +24,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: echo ::set-env name=EMOJI_PACKAGE::$'\xf0\x9f\x93\xa6'
- run: echo ::set-env name=PACKAGE_NAME::$(node -p "require('./package.json').name")
- run: echo ::set-env name=PACKAGE_VERSION::$(node -p "require('./package.json').version")
- run: echo ::set-env name=MESSAGE::"$EMOJI_PACKAGE [$PACKAGE_NAME](https://npmjs.com/package/$PACKAGE_NAME) $PACKAGE_VERSION was published"
- run: curl -X POST ${{ secrets.CODEX_BOT_NOTIFY_EDITORJS_PUBLIC_CHAT }} -d "message=$MESSAGE" -d parse_mode=Markdown -d disable_web_page_preview=true
- name: Get package info
id: package
uses: codex-team/action-nodejs-package-info@v1
- name: Send a message
uses: codex-team/action-codexbot-notify@v1
with:
webhook: ${{ secrets.CODEX_BOT_NOTIFY_EDITORJS_PUBLIC_CHAT }}
message: '📦 [${{ steps.package.outputs.name }}](${{ steps.package.outputs.npmjs-link }}) ${{ steps.package.outputs.version }} was published'
parse_mode: 'markdown'
disable_web_page_preview: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
node_modules/
.DS_Store
dist
1 change: 0 additions & 1 deletion dist/bundle.js

This file was deleted.

0 comments on commit 94d7101

Please sign in to comment.