chore: Bump version to 0.0.17 #7
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: Release vscode-lexical | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
publish-vscode: | |
runs-on: ubuntu-latest | |
name: Build and publish vscode-lexical to official VSCode marketplace | |
env: | |
VSCE_PAT: ${{ secrets.VSCE_PAT }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Publish extension | |
run: npm run vsce:publish | |
publish-openvsx: | |
runs-on: ubuntu-latest | |
name: Build and publish vscode-lexical to Open VSX marketplace | |
env: | |
OVSX_PAT: ${{ secrets.OVSX_PAT }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Publish extension | |
run: npm run ovsx:publish -- ${{ env.OVSX_PAT }} | |
github-release: | |
runs-on: ubuntu-latest | |
name: Create Github Release | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Package vscode-lexical | |
run: npm run vsce:package -- --out vscode-lexical.vsix | |
- run: cp vscode-lexical.vsix vscode-lexical-${{ github.ref_name }}.vsix | |
- name: Create Github Release | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: vscode-lexical*.vsix | |
makeLatest: true | |
allowUpdates: true | |
body: > | |
See the | |
[changelog](https://github.com/lexical-lsp/vscode-lexical/blob/main/CHANGELOG.md) | |
for the full release notes. |