Skip to content

Commit

Permalink
add a new deployment ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pshaddel committed Feb 21, 2023
1 parent f50f4d1 commit 3612b29
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/release-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,25 @@ jobs:
- name: Print release output
if: ${{ steps.release.outputs.released == 'true' }}
run: echo Release ID ${{ steps.release.outputs.release_id }}
- name: Setup
uses: actions/[email protected]
with:
node-version: 16
- name: Install Packages
if: ${{ steps.release.outputs.released == 'true' }}
run: npm install
- name: Lint
if: ${{ steps.release.outputs.released == 'true' }}
run: npm run lint
- name: Test
if: ${{ steps.release.outputs.released == 'true' }}
run: npm run test
- name: Prepublish
if: ${{ steps.release.outputs.released == 'true' }}
run: npm run vscode:prepublish
- name: Publish to VS Marketplace
uses: HaaLeo/publish-vscode-extension@v1
if: ${{ steps.release.outputs.released == 'true' }}
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "conventional-branch",
"displayName": "Conventional Branch",
"description": "Customizable Conventional Branch for VSCode",
"version": "0.0.8",
"version": "0.0.9",
"publisher": "pshaddel",
"engines": {
"vscode": "^1.75.0"
Expand Down

0 comments on commit 3612b29

Please sign in to comment.