Skip to content

chore(release): v3.22.1 #76

chore(release): v3.22.1

chore(release): v3.22.1 #76

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v4.2.0
with:
run_install: false
cache: true
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '>=20.18.2'
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- run: pnpm exec changelogithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Package VSIX
run: pnpm exec vsce package --no-dependencies --out ./git-worktree-manager-${{ github.ref_name }}.vsix
- name: Upload Release Artifact
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ github.ref_name }} ./git-worktree-manager-${{ github.ref_name }}.vsix
- name: Publish Extension to VSCode Marketplace
run: pnpm exec vsce publish -p ${{ secrets.VSCE_TOKEN }} --no-dependencies
- name: Publish Extension to OVSX
run: pnpm exec ovsx publish -p ${{ secrets.OVSX_TOKEN }} --no-dependencies