Skip to content

Commit 77a0c01

Browse files
committed
ci: Update Publish
1 parent 9391591 commit 77a0c01

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: pnpm build
2222

2323
- name: Prepare Pack
24-
run: cp package.json README.md dist/ && cd dist
24+
run: cp package.json README.md dist/
2525

2626
- uses: actions/setup-node@v2
2727
with:

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"build:umd": "rollup -c rollup.config.ts",
2727
"test": "jest .",
2828
"coverage": "jest . --coverage",
29-
"lint": "eslint ."
29+
"lint": "eslint .",
30+
"prepublishOnly": "cd dist"
3031
},
3132
"devDependencies": {
3233
"@rollup/plugin-typescript": "^8.2.1",

0 commit comments

Comments
 (0)