diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dfe7e1e..25942f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,17 +46,16 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - name: Create package + run: | + npm install + npm run compile + npm run package - name: Publish Release to VS Code Marketplace if: "!github.event.release.prerelease" run: npm run publish env: VSCE_PAT: ${{ secrets.VSCE_PAT }} - - name: Create package for pre-release - if: github.event.release.prerelease - run: | - npm install - npm run compile - npm run package - name: Upload package to release uses: softprops/action-gh-release@v1 with: