Skip to content

release v1.2.2

release v1.2.2 #7

Workflow file for this run

name: 🎉 Release
on:
push:
tags:
- 'v*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- name: Run pnpm install
run: pnpm install
- name: Run vsce package
run: mkdir -p out/vsix/ && pnpm package -o out/vsix/
- name: Create Github Release
uses: softprops/action-gh-release@v2
with:
files: out/vsix/*.vsix
- name: Publish to VS Code Marketplace
run: pnpm run deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
- name: Publish to Open VSX
run: pnpm run deploy_ovsx -- --pat ${{ secrets.OVSX_PAT }}