feat(ui): optimize popup portal to support multi-instance (#4924) #13956
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: 📦 Build | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
branches: | |
- dev | |
permissions: | |
contents: read | |
jobs: | |
build: | |
if: github.repository == 'dream-num/univer' | |
runs-on: ubuntu-latest | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} | |
ref: ${{ github.head_ref }} | |
- name: Setup Node.js | |
uses: ./.github/actions/setup-node | |
- name: 📦 Build | |
run: pnpm build:ci | |
- name: Check for uncommitted changes | |
run: | | |
if [[ -n $(git status --porcelain) ]]; then | |
echo "Error: Uncommitted changes detected after build." | |
echo "Changed files:" | |
git status --porcelain | |
echo "Diff of changes:" | |
git diff | |
exit 1 | |
fi |