docs(题解规范): 更新主题库题解规范,添加GenAI使用条款 #890
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: build | |
| on: | |
| - push | |
| - pull_request | |
| concurrency: | |
| group: ${{ github.workflow }}:${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| name: install pnpm | |
| with: | |
| run_install: false | |
| - name: install node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'pnpm' | |
| - name: install dependencies | |
| run: pnpm install | |
| - name: build | |
| run: pnpm run build | |
| - name: upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: help-site | |
| path: build |