Skip to content

Commit 68dc69f

Browse files
ci: build on prepack (#95)
1 parent a20aaeb commit 68dc69f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
cache: "pnpm"
2929
- if: ${{ steps.cache-node.outputs.cache-hit != 'true' }}
3030
run: pnpm install
31-
- run: pnpm run build
3231
- uses: changesets/action@v1
3332
if: ${{ github.event_name != 'pull_request' }}
3433
with:

packages/core/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
"license": "MIT",
5050
"packageManager": "pnpm@7.6.0",
5151
"scripts": {
52-
"build": "unbuild"
52+
"build": "unbuild",
53+
"prepack": "pnpm build"
5354
},
5455
"dependencies": {
5556
"picocolors": "^1.0.0",

packages/prompts/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
],
5050
"packageManager": "pnpm@7.6.0",
5151
"scripts": {
52-
"build": "unbuild"
52+
"build": "unbuild",
53+
"prepack": "pnpm build"
5354
},
5455
"dependencies": {
5556
"@clack/core": "^0.3.0",

0 commit comments

Comments
 (0)