style: add font token #259
Workflow file for this run
This file contains hidden or 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: preview-site-build | |
| on: | |
| pull_request: | |
| branches: [develop, main] | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| tdesign-miniprogram-site: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: echo ${{ github.event.number }} > pr-id.txt | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: pr-id | |
| path: pr-id.txt | |
| retention-days: 5 | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| - run: pnpm install | |
| - run: pnpm -C packages/tdesign-miniprogram/site run site:preview | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: tdesign-miniprogram-site | |
| path: packages/tdesign-miniprogram/site/dist | |
| retention-days: 5 | |
| tdesign-miniprogram-chat-site: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| - run: pnpm install | |
| - run: pnpm -C packages/tdesign-miniprogram-chat/site run site:preview | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: tdesign-miniprogram-chat-site | |
| path: packages/tdesign-miniprogram-chat/site/dist | |
| retention-days: 5 |