Skip to content

๐Ÿ› fix: richText add ... #199

๐Ÿ› fix: richText add ...

๐Ÿ› fix: richText add ... #199

Workflow file for this run

name: Release CI
on:
push:
branches:
- master
- beta
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: โš™ ่ฎพ็ฝฎ pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: ๐Ÿ— ๅ‡†ๅค‡ Node.js ็Žฏๅขƒ
uses: actions/setup-node@v3
with:
node-version: '18'
- name: ๐Ÿ—ณ ๅฎ‰่ฃ…ไพ่ต–
run: pnpm install
- name: ๐Ÿ“ฆ ๆž„ๅปบ npm ๅŒ…
run: pnpm run build
# npm 8 ๅ’Œ 9 ไผšๅœจ `npm version` ๆ—ถๆ‰ง่กŒไพ่ต–ๆ ‘ๅ‘ฝไปค๏ผŒ่ฟ›่€ŒๆŠฅ้”™้€€ๅ‡บ
# Refs: https://github.com/semantic-release/npm/issues/540
- name: Setup npm 7
run: npm i -g npm@7 --registry=https://registry.npmjs.org
- name: ๐Ÿš€ npm ๅŒ…ๅ‘ๅธƒ
run: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}