Skip to content

Commit 9ce3a0b

Browse files
authored
fix: release pipeline (#71)
2 parents ed2b8b6 + 8120200 commit 9ce3a0b

File tree

6 files changed

+16
-1
lines changed

6 files changed

+16
-1
lines changed

.changeset/thin-trees-open.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"@calycode/types": patch
3+
"@calycode/utils": patch
4+
"@calycode/core": patch
5+
"@calycode/cli": patch
6+
---
7+
8+
fix: fixing package.json for package publishing, not building packages in the github action resulted with non-existent dist directory...

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
- name: Install dependencies
3636
run: pnpm install
3737

38+
- name: Build packages
39+
run: pnpm build:packages
40+
3841
- name: Publish to npm
3942
id: changesets
4043
uses: changesets/action@v1

packages/cli/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"files": [
2828
"dist",
2929
"README.md",
30+
"CHANGELOG.md",
3031
"LICENSE"
3132
],
3233
"engines": {

packages/core/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"files": [
3030
"dist",
3131
"README.md",
32+
"CHANGELOG.md",
3233
"LICENSE"
3334
],
3435
"engines": {

packages/types/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"type": "module",
2121
"files": [
2222
"dist",
23-
"README.md"
23+
"README.md",
24+
"CHANGELOG.md"
2425
],
2526
"engines": {
2627
"node": ">=18.0.0"

packages/utils/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"files": [
2929
"dist",
3030
"README.md",
31+
"CHANGELOG.md",
3132
"LICENSE"
3233
],
3334
"engines": {

0 commit comments

Comments
 (0)