Skip to content

chore: release v1.0.0 #2

chore: release v1.0.0

chore: release v1.0.0 #2

Workflow file for this run

name: Publish Package
on:
push:
tags:
- v*
permissions:
contents: write
id-token: write
jobs:
release:
runs-on: ubuntu-latest
environment: Release
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
cache: pnpm
- run: pnpm install --frozen-lockfile --prefer-offline
- 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 }}
- name: Generate Changelog
run: npx changelogithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}