Skip to content

Commit

Permalink
chore: fix ovsx ci script
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Jun 14, 2023
1 parent 32d5d5e commit 4226f69
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: release

on:
workflow_dispatch:
push:
tags:
- '*'
Expand All @@ -17,7 +18,7 @@ jobs:

- run: npm i -g pnpm ovsx
- run: pnpm install --frozen-lockfile --no-optional
- run: pnpm run prepack && pnpm ovsx publish
- run: pnpm run build:minify && pnpm ovsx publish
working-directory: packages/vscode-vue
env:
OVSX_PAT: ${{ secrets.OVSX_PAT }}
7 changes: 4 additions & 3 deletions packages/vscode-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -722,12 +722,13 @@
"scripts": {
"prebuild": "cd ../.. && npm run build",
"build": "node scripts/build",
"build:minify": "npm run build -- --minify",
"watch": "npm run build -- --watch",
"pack": "npm run build -- --minify && vsce package",
"pack": "npm run build:minify && vsce package",
"pack:next": "npm run build && vsce package",
"release": "npm run build -- --minify && vsce publish",
"release": "npm run build:minify && vsce publish",
"release:next": "npm run build && vsce publish --pre-release",
"bundle-size": "npm run build -- --minify --metafile && esbuild-visualizer --metadata ./meta.json && open ./stats.html"
"bundle-size": "npm run build:minify --metafile && esbuild-visualizer --metadata ./meta.json && open ./stats.html"
},
"devDependencies": {
"@types/semver": "^7.3.13",
Expand Down

0 comments on commit 4226f69

Please sign in to comment.