From 12967da61babd1c52e23ab2e02ff2d7df2a3ef54 Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Mon, 6 Nov 2023 19:04:27 -0300 Subject: [PATCH] add pre release lsp --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 195a08734..dc1b6689e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -214,6 +214,15 @@ jobs: if: startsWith(github.ref, 'refs/tags/') run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} ${{ steps.tag_name.outputs.tag }} --no-git-tag-version + - name: Publish LSP as pre-release to NPM + if: github.ref == 'refs/heads/master' + working-directory: server + run: | + npm version preminor --preid next + npm publish --access public --tag next + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Publish LSP to NPM if: startsWith(github.ref, 'refs/tags/') working-directory: server