Skip to content

Commit 22db11f

Browse files
committed
ci: fix update version in CD
1 parent 305e794 commit 22db11f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/CD.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ jobs:
2727
cache: 'pnpm'
2828

2929
- name: Build library
30-
run: pnpm install && pnpm build
30+
run: pnpm install && pnpm build && pnpm run version
3131

3232
- name: Create Release Pull Request or Publish to npm
3333
id: changesets
3434
uses: changesets/action@v1
3535
with:
3636
publish: pnpm release
37-
version: npm run version
37+
version: pnpm run version
3838
commit: "chore: new release"
3939
title: "chore: new release candidate"
4040
env:

0 commit comments

Comments
 (0)