Skip to content

Commit efe8ee0

Browse files
authored
add pre release lsp (#841)
1 parent 8543778 commit efe8ee0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yml

+9
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,15 @@ jobs:
236236
if: startsWith(github.ref, 'refs/tags/')
237237
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} ${{ steps.tag_name.outputs.tag }} --no-git-tag-version
238238

239+
- name: Publish LSP as pre-release to NPM
240+
if: github.ref == 'refs/heads/master'
241+
working-directory: server
242+
run: |
243+
npm version preminor --preid next
244+
npm publish --access public --tag next
245+
env:
246+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
247+
239248
- name: Publish LSP to NPM
240249
if: startsWith(github.ref, 'refs/tags/')
241250
working-directory: server

0 commit comments

Comments
 (0)