Skip to content

Commit abf9231

Browse files
committed
ci: add step to build during publish
Release-As: 0.1.4
1 parent aacfe1a commit abf9231

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release-please.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
if: ${{ steps.release.outputs.release_created }}
2727
- run: npm ci
2828
if: ${{ steps.release.outputs.release_created }}
29+
- run: npm run build
30+
if: ${{ steps.release.outputs.release_created }}
2931
- name: Publish to NPM
3032
run: npm publish
3133
env:

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@
3737
},
3838
"./package.json": "./package.json"
3939
},
40-
"files": [
41-
"dist"
42-
],
40+
"files": ["dist"],
4341
"scripts": {
4442
"dev": "vite",
4543
"build": "tsup",

0 commit comments

Comments
 (0)