Skip to content

Commit

Permalink
Fix CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
moetelo committed Oct 11, 2023
1 parent a685ee9 commit 527f869
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/deploy-extension.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Deploy Extension

on:
workflow_dispatch:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+\.[0-9]+\.[0-9]+"

env:
VSCE_PAT: ${{ secrets.VS_MARKETPLACE_TOKEN }}

jobs:
deploy:
Expand All @@ -14,12 +18,10 @@ jobs:
with:
node-version: 20
- uses: pnpm/[email protected]
- run: pnpm install --dir ./packages/vscode
- run: pnpm run build

- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
packagePath: ./packages/vscode
registryUrl: https://marketplace.visualstudio.com
version: 8
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- run: pnpm run build --publish

0 comments on commit 527f869

Please sign in to comment.