Skip to content

Commit

Permalink
ci: vsix publish (#246)
Browse files Browse the repository at this point in the history
* ci: vsix publish

* fix: review fixes

* chore: lockfile

* fix: review

* fix: testing

* Revert "fix: testing"

This reverts commit 7b9d9d1.

* fix: remove lockfile
  • Loading branch information
ffMathy authored Feb 19, 2024
1 parent 0694d98 commit 5868d24
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build

on:
push:
tags:
- v*

jobs:
release:
runs-on: ubuntu-latest
environment: Release

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: pnpm

- run: pnpm install --frozen-lockfile

- name: Publish to Open VSX Registry
id: publishToOpenVSX
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
dependencies: false

- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
extensionFile: ${{ steps.publishToOpenVSX.outputs.vsixPath }}

0 comments on commit 5868d24

Please sign in to comment.