Update VS Code settings and package version #16
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: Deploy VS Code Extension | |
on: | |
push: | |
branches: | |
- main # Ou qualquer que seja o branch que você deseja para o deploy | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "14" | |
- name: Install vsce | |
run: npm install -g vsce | |
- name: Package Extension | |
run: vsce package --baseContentUrl https://raw.githubusercontent.com/typper-io/typper-theme/main/ --baseImagesUrl https://raw.githubusercontent.com/typper-io/typper-theme/main/ | |
- name: Publish Extension | |
run: vsce publish -p ${{ secrets.VSCE_PAT }} --baseContentUrl https://raw.githubusercontent.com/typper-io/typper-theme/main/ --baseImagesUrl https://raw.githubusercontent.com/typper-io/typper-theme/main/ |