Skip to content

Merge pull request #213 from iamhyc/dependabot/npm_and_yarn/views/cha… #59

Merge pull request #213 from iamhyc/dependabot/npm_and_yarn/views/cha…

Merge pull request #213 from iamhyc/dependabot/npm_and_yarn/views/cha… #59

Workflow file for this run

name: Publish Extension
on:
push:
branches: [master]
jobs:
publish:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: |
npm install
cd views/chat-view
npm install
- name: Install vsce
run: npm install -g vsce
- name: Publish
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
run: vsce publish -p $VSCE_PAT