Skip to content

chore: release v0.3.0 #6

chore: release v0.3.0

chore: release v0.3.0 #6

Workflow file for this run

name: Publish
on:
push:
tags:
- 'v*'
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- name: install
run: pnpm i
- name: build
run: pnpm build
- name: publish npm packages
run: pnpm publish -r --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
NPM_CONFIG_PROVENANCE: true
- name: publish vscode extension
run: |
cd packages/vscode
pnpm vsce:package
pnpm vsce:publish
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}