Skip to content

Commit

Permalink
add pre release lsp (#841)
Browse files Browse the repository at this point in the history
  • Loading branch information
aspeddro authored Mar 14, 2024
1 parent 8543778 commit efe8ee0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,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
Expand Down

0 comments on commit efe8ee0

Please sign in to comment.