Skip to content

Commit 19a11b4

Browse files
committed
ci fix
1 parent df54f65 commit 19a11b4

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,16 @@ jobs:
3030
git config --global user.signingkey ${{ secrets.XCI_GPG }}
3131
git config --global commit.gpgsign true
3232
33+
- name: Install dependencies
34+
run: npm i -D @changesets/cli @changesets/changelog-github
35+
36+
- name: Install dependencies
37+
run: npm run build
38+
3339
- name: Release PR
3440
uses: changesets/action@v1
3541
with:
36-
version: npm run version
42+
version: npm exec changeset version
3743
publish: npm exec changeset publish
3844
env:
3945
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"test": "node --test --test-concurrency 1",
1717
"watch:test": "node --test --watch",
1818
"watch:build": "watchexec -w src -d 300 npm run build",
19-
"version": "npm i @changesets/cli @changesets/changelog-github && npm run build && npm exec changeset version",
2019
"build": "npx unbuild",
2120
"build:demo": "sh .github/scripts/gen-img",
2221
"build:stub": "npx unbuild --stub"

0 commit comments

Comments
 (0)