feat: refactor(homepage): 重构首页组件结构,使用动态加载优化性能 #410
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: Commit Message Check on PR | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20] | |
| steps: | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@v3 | |
| with: | |
| persist-credentials: false | |
| - name: Setup .npmrc | |
| run: | | |
| echo "@tiptap-pro:registry=https://registry.tiptap.dev/" > .npmrc | |
| echo "//registry.tiptap.dev/:_authToken=${{ secrets.TIPTAP_AUTH_TOKEN }}" >> .npmrc | |
| env: | |
| TIPTAP_AUTH_TOKEN: ${{ secrets.TIPTAP_AUTH_TOKEN }} | |
| - name: Install PNPM | |
| uses: pnpm/action-setup@v2 | |
| with: | |
| version: 10.20.0 | |
| - name: Install Deps | |
| run: pnpm i --no-frozen-lockfile | |
| - name: Format | |
| run: | | |
| pnpm run format:ci | |
| - name: Lint | |
| run: pnpm run lint:ci |