Skip to content

Commit 4aa5e02

Browse files
committed
ci: update release.yml
1 parent 51b6883 commit 4aa5e02

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4343

4444
- name: Publish to npm
45-
run: pnpm -r publish --access public --no-git-checks
45+
run: cd dist && pnpm run publish

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,11 @@
4848
"init": "pnpm i",
4949
"lint:fix": "eslint --fix ./ --ext .vue,.js,.ts,.jsx,.tsx,.json ",
5050
"dev": "pnpm run --filter @unplugin-vue-cssvars/build dev",
51-
"build": "pnpm run clean && pnpm run --filter @unplugin-vue-cssvars/build build && cd dist && pnpm run publish",
51+
"build": "pnpm run clean && pnpm run --filter @unplugin-vue-cssvars/build build",
5252
"play:build": "pnpm run --filter @unplugin-vue-cssvars/play build",
5353
"play:server": "pnpm run --filter @unplugin-vue-cssvars/play dev",
5454
"play:preview": "pnpm run --filter @unplugin-vue-cssvars/play preview",
5555
"release": "bumpp package.json --commit --push --tag",
56-
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
5756
"clean": "rimraf dist",
5857
"prepare": "npx simple-git-hooks",
5958
"test": "vitest",
@@ -102,7 +101,6 @@
102101
"@vitest/ui": "^0.29.2",
103102
"@vue/compiler-sfc": "^3.2.47",
104103
"bumpp": "^8.2.1",
105-
"conventional-changelog-cli": "^2.2.2",
106104
"cross-env": "^7.0.3",
107105
"debug": "^4.3.4",
108106
"eslint": "8.32.0",

0 commit comments

Comments
 (0)