mirror of
https://github.com/moeru-ai/airi.git
synced 2026-05-19 16:42:27 +00:00
40 lines
1 KiB
YAML
40 lines
1 KiB
YAML
name: Release VSCE & OVSX
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '@proj-airi/airi-plugin-vscode@v*'
|
|
- 'v*'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
release-vsix:
|
|
name: Release
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- uses: pnpm/action-setup@v3
|
|
with:
|
|
run_install: false
|
|
|
|
- name: Install Node.js 24.x
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: 24.x
|
|
# registry-url required. Learn more at
|
|
# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
|
registry-url: 'https://registry.npmjs.org'
|
|
cache: pnpm
|
|
|
|
- run: pnpm install --frozen-lockfile
|
|
- run: pnpm run build:packages
|
|
- run: pnpm run -F @proj-airi/airi-plugin-vscode build
|
|
- run: pnpm run -F vscode-airi build
|
|
- run: pnpm run publish
|
|
working-directory: ./integrations/vscode/vscode-airi
|
|
env:
|
|
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
|
|
OVSX_TOKEN: ${{ secrets.OVSX_TOKEN }}
|