Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Commit 7518c6e

Browse files
committed
added npm workflow
1 parent 1b7dc41 commit 7518c6e

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

.github/workflows/npm-publish.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
on: push
2+
3+
jobs:
4+
publish:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v1
8+
- uses: actions/setup-node@v1
9+
with:
10+
node-version: 10
11+
- run: npm install
12+
- run: npm build
13+
- uses: JS-DevTools/npm-publish@v1
14+
with:
15+
token: ${{ secrets.NPM_TOKEN }}

dist/codeflask.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"main": "./dist/codeflask.bundle.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",
8-
"build": "webpack --mode production",
9-
"build_yalc": "webpack --mode production && yalc push"
8+
"build": "webpack --mode production"
109
},
1110
"author": "Calum Knott",
1211
"license": "MIT",

src/codeflask.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
/**
33
* EditorJsCodeFlask Block for the Editor.js.
44
*
5-
* @author CK ([email protected])
6-
* @copyright Calum Knott
5+
* @author Calum Knott ([email protected])
76
* @license The MIT License (MIT)
87
*/
98

0 commit comments

Comments
 (0)