Skip to content

feat: open change in new jj workspace window #16

feat: open change in new jj workspace window

feat: open change in new jj workspace window #16

Workflow file for this run

name: Release

Check failure on line 1 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

(Line: 41, Col: 13): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.VSCE_PAT != ''
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"