1.10.3: Bug Fixes #21
Workflow file for this run
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 Stable | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
cache: 'pnpm' | |
- name: Install vsce + ovsx | |
run: | | |
pnpm add --global @vscode/vsce | |
pnpm add --global ovsx | |
- name: Dependencies | |
run: | | |
HUSKY=0 pnpm install | |
- name: Build extension | |
run: | | |
cd lana | |
vsce package --no-dependencies | |
- name: Publish to VS Code Marketplace + Open VSX Registry | |
run: | | |
cd lana | |
echo "Verify vsce token has not expired" | |
vsce verify-pat -p ${{ secrets.VSCE_TOKEN }} | |
echo "Verify ovsx token has not expired" | |
ovsx verify-pat -p ${{ secrets.OVSX_TOKEN }} | |
echo "Publish to vsce" | |
vsce publish -p ${{ secrets.VSCE_TOKEN }} --packagePath lana-${{ github.event.release.tag_name }}.vsix | |
echo "Publish to ovsx" | |
ovsx publish -p ${{ secrets.OVSX_TOKEN }} --packagePath lana-${{ github.event.release.tag_name }}.vsix |