feat: open change in new jj workspace window #16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | ||
| on: | ||
| push: | ||
| tags: | ||
| - 'v*' | ||
| jobs: | ||
| build-release: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Setup Node | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 20 | ||
| cache: pnpm | ||
| - name: Setup pnpm | ||
| uses: pnpm/action-setup@v4 | ||
| with: | ||
| version: 9 | ||
| - name: Install deps | ||
| run: pnpm install --frozen-lockfile | ||
| - name: Build | ||
| run: pnpm run compile | ||
| - name: Unit tests | ||
| run: pnpm run test:unit | ||
| - name: Package extension | ||
| run: npx @vscode/vsce package --no-dependencies | ||
| - name: Publish to Marketplace | ||
| if: ${{ secrets.VSCE_PAT != '' }} | ||
| env: | ||
| VSCE_PAT: ${{ secrets.VSCE_PAT }} | ||
| run: npx @vscode/vsce publish --no-dependencies | ||
| - name: Create GitHub Release | ||
| uses: softprops/action-gh-release@v2 | ||
| with: | ||
| files: "*.vsix" | ||