Skip to content

build(deps-dev): bump the dev-dependencies group (#183) #99

build(deps-dev): bump the dev-dependencies group (#183)

build(deps-dev): bump the dev-dependencies group (#183) #99

name: kusto-language-server-publish
on:
push:
branches:
- master
paths:
- 'kusto-language-server/**'
- '.github/workflows/kusto-language-server-publish.yml'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false
jobs:
publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: kusto-language-server
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: 'Automated Version Bump'
uses: ./.github/actions/gh-action-bump-version-master
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}
PACKAGEJSON_DIR: 'kusto-language-server'
with:
default: patch
tag-prefix: kusto-language-server-v
# Don't push this commit, because we might not have latest master.
# We'll fetch, merge, and push at the end.
push: false
- run: npm ci
- name: Publish VS Code Extension
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
packagePath: ./kusto-language-server
- name: Push version bump commit
uses: ./.github/actions/pull-rebase-then-push
with:
max-retries: 5
remote-name: origin
branch: master