diff --git a/.github/workflows/release-deploy.yml b/.github/workflows/release-deploy.yml index 66f7ecc..2237929 100644 --- a/.github/workflows/release-deploy.yml +++ b/.github/workflows/release-deploy.yml @@ -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/setup-node@v3.6.0 + 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 diff --git a/package.json b/package.json index f31502a..36d6ef9 100644 --- a/package.json +++ b/package.json @@ -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"