Skip to content

Commit

Permalink
feat(bezier-vscode): integrate VSCode extension release to GH Action
Browse files Browse the repository at this point in the history
  • Loading branch information
yangwooseong committed Nov 13, 2024
1 parent eefa046 commit 243b871
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,9 @@ jobs:
# https://github.com/changesets/action/issues/187
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Release VSCode extension
continue-on-error: true
run: yarn publish-vscode
env:
VSCE_PAT: ${{ secrets.VSCE_PERSONAL_ACCESS_TOKEN }}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"update-snapshot": "yarn workspace @channel.io/bezier-react update-snapshot",
"changeset": "changeset",
"postinstall": "husky install",
"publish-vscode": "yarn workspace bezier-vscode publish --no-dependencies",
"knip": "knip --config knip.json --workspace packages/bezier-react --cache"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/bezier-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
"lint": "TIMING=1 eslint --cache .",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist",
"vscode:prepublish": "yarn build"
"vscode:prepublish": "yarn build",
"publish": "vsce publish"
},
"dependencies": {
"vscode-languageclient": "^9.0.1",
Expand Down

0 comments on commit 243b871

Please sign in to comment.