fixed publish workflow #44
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 vscode extension" | |
on: push | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/master' | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
registry-url: https://registry.npmjs.org | |
- run: npm run install:all | |
- run: npm install -g @vscode/vsce | |
- name: publish | |
run: | | |
vsce package | |
echo yyze64anmr5rvfznwaysjcywquaux2o2i2y5iixh6tc5tw754kqa | vsce login sulsami | |
vsce publish |