Skip to content

Commit d82c4ef

Browse files
committed
Fix publish action
1 parent 2472134 commit d82c4ef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
node-version: 16
2929
registry-url: https://registry.npmjs.org/
3030
- run: yarn install
31-
- run: npm publish
31+
- run: yarn build
32+
- run: yarn publish
3233
env:
3334
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "changetags",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"packageManager": "yarn@3.2.0",
55
"repository": {
66
"type": "git",
@@ -11,7 +11,6 @@
1111
"module": "dist/module.js",
1212
"scripts": {
1313
"build": "parcel build",
14-
"prepublish": "yarn build",
1514
"test": "jest test/*",
1615
"prettier": "prettier --write --ignore-unknown ."
1716
},

0 commit comments

Comments
 (0)