Skip to content

Commit 2e83c0f

Browse files
committed
fix: add release script
1 parent 9f9b6be commit 2e83c0f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
run: yarn make
2222

2323
- name: Release latest
24-
run: yarn releaseLatest
24+
run: yarn release
2525
env:
2626
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"make": "node Makefile.js",
1111
"clean": "node Makefile.js clean",
1212
"test": "MODULE_TYPE=commonjs mocha",
13-
"coverage": "cross-env BABEL_ENV=cover nyc mocha"
13+
"coverage": "cross-env BABEL_ENV=cover nyc mocha",
14+
"release": "node Makefile.js releaseLatest"
1415
},
1516
"dependencies": {
1617
"pako": "^1.0.6"

0 commit comments

Comments
 (0)