Skip to content

Commit 03c553d

Browse files
committed
chore: update CI publish script to include build step and adjust GitHub Actions workflow for publishing
1 parent 9fa0e4e commit 03c553d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ jobs:
2323
- name: Install dependencies
2424
run: pnpm install
2525

26-
- name: Build dist
27-
run: pnpm build
28-
2926
- name: Create and publish versions
3027
uses: changesets/action@v1
3128
with:
3229
commit: 'chore: update versions'
3330
title: 'chore: update versions'
34-
publish: pnpm ci:publish
3531
env:
3632
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
34+
- name: Publish
35+
run: pnpm ci:publish
36+
env:
3737
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"bump": "changeset",
2424
"release": "changeset version",
2525
"prepare": "husky && aib sync",
26-
"ci:publish": "pnpm publish -r --access=public"
26+
"ci:publish": "pnpm build && pnpm publish -r --access=public"
2727
},
2828
"devDependencies": {
2929
"@aibetter/aib": "^0.1.3",

0 commit comments

Comments
 (0)