chore(1.1.0): setup CI to publish automatically #3
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: "Publish Extension" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
name: Publish Extension to Marketplace | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Node.js | |
run: sudo apt update && sudo apt install nodejs | |
- name: Install vsce | |
run: npm install -g vsce | |
- name: Publish Extension | |
run: vsce publish -p ${{ secrets.PERSONAL_ACCESS_TOKEN }} |