Merge branch 'main' of https:/GreyCorbel/cosmos_db_highli… #1
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: Build and Publish VSIX - VS Code Cosmos DB Highlighte extension | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'package.json' | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Out Code | |
uses: actions/checkout@v2 | |
- name: Set Up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 14 | |
- name: Install Dependencies | |
run: npm install | |
- name: Publish Extension | |
run: npx vsce publish -p ${{ secrets.PAT_ROMAN }} | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.PAT_ROMAN }} |