Skip to content

fix: fix clean default version #20

fix: fix clean default version

fix: fix clean default version #20

Workflow file for this run

name: Build and Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Build
run: npm run build
- name: Install semantic release deps
run: npm i -S @semantic-release/git @semantic-release/changelog
- name: Release
uses: cycjimmy/semantic-release-action@v3
with:
semantic_version: 19.0.5
extra_plugins: |
@semantic-release/git
@semantic-release/changelog
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Sync to npmmirror
run: npx cnpm sync @lobehub/lobe-chat-plugins