Skip to content

0.6.0

0.6.0 #7

Workflow file for this run

name: Publish
on:
release:
types: [published]
permissions:
contents: write
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install
- name: Lint files
run: pnpm lint
- name: Package extension
uses: haaleo/publish-vscode-extension@v1
id: package
with:
pat: _
dependencies: false
dryRun: true
- uses: abutler/[email protected]
with:
files: ${{ steps.package.outputs.vsixPath }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to Visual Studio Marketplace
uses: haaleo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
extensionFile: ${{ steps.package.outputs.vsixPath }}
registryUrl: https://marketplace.visualstudio.com
dependencies: false