fix: update default align to center #113
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: publish | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
release: | |
if: ${{ github.actor == 'zhuchentong' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
run: bun install | |
- name: Build Package | |
run: bun run build | |
- name: Configure Git User | |
run: | | |
git config --global user.email "2037630@163.com" | |
git config --global user.name "zhuchentong" | |
- name: Create Release Pull Request or Publish | |
id: changesets | |
uses: changesets/action@v1 | |
with: | |
publish: bunx changeset publish | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
sync: | |
runs-on: ubuntu-latest | |
needs: release | |
steps: | |
- name: Sync Package | |
run: | | |
curl -X PUT "https://registry-direct.npmmirror.com/-/package/@gopowerteam/form-render/syncs" && | |
curl -X PUT "https://registry-direct.npmmirror.com/-/package/@gopowerteam/table-render/syncs" && | |
curl -X PUT "https://registry-direct.npmmirror.com/-/package/@gopowerteam/modal-render/syncs" |