Skip to content

Commit 15383b9

Browse files
committed
fix(ci): ci fixes
1 parent 87a2eb4 commit 15383b9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ jobs:
1313
with:
1414
node-version: 12
1515
- run: npm ci
16-
- run: mkdir dist && cp package.json dist/
16+
- run: npm run build
17+
- run: cp package.json dist/
1718
- name: Release
1819
env:
1920
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
"scripts": {
1212
"build": "rm -rf dist && ttsc && rollup --config",
1313
"watch": "ttsc --watch",
14-
"prepublishOnly": "npm run build",
15-
"postbuild": "cp package.json dist",
1614
"semantic-release": "semantic-release"
1715
},
1816
"repository": {

0 commit comments

Comments
 (0)