๐ fix: remove RichText empty attr #197
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |