Skip to content

chore: bump version #19

chore: bump version

chore: bump version #19

Workflow file for this run

name: Release
permissions:
contents: write
on:
push:
tags:
- '[0-9]+.*'
jobs:
release-extension:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 16
- name: Install deps
run: npm install
- name: Install vsce
run: npm install vsce -g
- name: Compile
run: npm run compile
- name: Package VSCE
run: vsce package -o ast-grep-vscode.vsix
- name: Create GH Release
uses: softprops/action-gh-release@v2
with:
files: ast-grep-vscode.vsix
- name: Publish extension
run: vsce publish -p ${{ secrets.VSCE_TOKEN }}