Skip to content

Commit

Permalink
Create deploy.yml (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-wiemer authored Jul 8, 2022
1 parent 9c1cb72 commit 9837798
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on:
push:
tags:
- '*'

name: Deploy Extension
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
- run: npm ci
#- name: Publish to Open VSX Registry
# uses: HaaLeo/publish-vscode-extension@v1
# with:
# pat: ${{ secrets.OPEN_VSX_TOKEN }}
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"format_fix": "npm run format_inner -- --write .",
"format_inner": "prettier",
"lint": "npm run quality && npm run format",
"lint_fix": "npm run quality_fix && npm run format_fix",
"quality": "npm run quality_inner -- src && echo ✅ No problems",
"quality_fix": "npm run quality_inner -- --fix src",
"quality_inner": "eslint --ext ts --max-warnings=0",
Expand Down

0 comments on commit 9837798

Please sign in to comment.