Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 34 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}

build:
build-react:
runs-on: ubuntu-latest
# needs: build
steps:
Expand Down Expand Up @@ -111,3 +111,36 @@ jobs:

- name: Build
run: pnpm run build

build-chat:
runs-on: ubuntu-latest
# needs: build
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
node-version-file: .node-version
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT

- uses: actions/cache@v4
with:
# 缓存路径
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
# 缓存键
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
# 恢复缓存的备用键
restore-keys: |
${{ runner.os }}-pnpm-store-

- run: pnpm install

- name: Build
run: pnpm run build:aigc
2 changes: 1 addition & 1 deletion packages/tdesign-react-aigc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"devDependencies": {
"cors": "^2.8.5",
"tdesign-icons-react": "0.5.0",
"tdesign-react": "^1.12.1",
"tdesign-react": "workspace:^",
"tvision-charts-react": "^3.3.12",
"express": "^4.17.3"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/tdesign-react-aigc/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"react-dom": "^18.2.0",
"react-router-dom": "^6.2.2",
"tdesign-icons-react": "^0.4.5",
"tdesign-react": "^1.12.1"
"tdesign-react": "workspace:^"
},
"devDependencies": {
"@babel/core": "^7.16.5",
Expand Down
Loading