chore: Update packagePath in vscode-package.yml #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Publish VSCode Extension | |
on: | |
push: | |
tags: | |
- v* | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
working-directory: ./vscode | |
jobs: | |
vscode-extension-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18 | |
- name: Install Dependencies | |
run: npm install --save-exact --save-dev esbuild | |
- name: Publish VS Code Extension | |
run: | | |
npm install -g @vscode/vsce | |
vsce publish -p $VSCE_TOKEN | |
env: | |
VSCE_TOKEN: ${{ secrets.VSC_PAT }} | |
- name: Send Download Link to Slack | |
uses: slackapi/[email protected] | |
with: | |
payload: | | |
{ | |
"text": "VSCode extension deployed successfully!" | |
} | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |