Skip to content

Commit

Permalink
Merge pull request #13 from kaermorchen/deploy-extension
Browse files Browse the repository at this point in the history
Deploy extension
  • Loading branch information
kaermorchen authored Jul 31, 2023
2 parents 5177b18 + 03b873c commit 75998c6
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 11 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/deploy-extension.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Deploy Extension

on:
release:
types: [published]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 20
- run: npm ci -w packages/vscode
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
packagePath: ./packages/vscode
registryUrl: https://marketplace.visualstudio.com
15 changes: 7 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion packages/language-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"scripts": {},
"devDependencies": {
"@types/node": "^20.2.6",
"@types/vscode": "^1.79.0",
"typescript": "^5.1.3"
},
"dependencies": {
Expand Down
11 changes: 11 additions & 0 deletions packages/vscode/.vscodeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Ignore all
**
../**
../../**

# Excludes
!out/**
!assets/**
!package.json
!README.md
!LICENSE
6 changes: 4 additions & 2 deletions packages/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
"Linters"
],
"icon": "assets/logo.png",
"scripts": {},
"scripts": {
"vscode:prepublish": "tsc --build"
},
"contributes": {
"languages": [
{
Expand Down Expand Up @@ -85,7 +87,7 @@
},
"devDependencies": {
"@types/node": "^20.2.6",
"@types/vscode": "^1.79.0",
"@types/vscode": "^1.74.0",
"typescript": "^5.1.3"
},
"dependencies": {
Expand Down

0 comments on commit 75998c6

Please sign in to comment.