Skip to content

chore: update github action ot deploy vscode extension #1

chore: update github action ot deploy vscode extension

chore: update github action ot deploy vscode extension #1

Workflow file for this run

name: Vespa Schema LSP - Deploy extension
on:
workflow_dispatch:
inputs:
version:
type: choice
descirption: Which kind of release is this
required: true
options:
- major
- minor
- patch
push:
branches:
- interns/languageserver
inputs:
version: patch
jobs:
lspDeploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./integration/schema-language-server/clients/vscode
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build Vespa
run: |
export MAVEN_OPTS="-Xms128m -Xmx1024m"
./bootstrap.sh java
mvn install --threads 1C
working-directory: ./
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Download node dependencies
run: npm ci
- name: Publish
run: npm run publish