mirror of
https://github.com/langgenius/dify.git
synced 2026-04-24 21:05:48 +08:00
Merge branch 'main' into feat/hitl-frontend
This commit is contained in:
1
.github/skills/component-refactoring
vendored
Symbolic link
1
.github/skills/component-refactoring
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
../../.agents/skills/component-refactoring
|
||||
1
.github/skills/frontend-code-review
vendored
Symbolic link
1
.github/skills/frontend-code-review
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
../../.agents/skills/frontend-code-review
|
||||
1
.github/skills/frontend-testing
vendored
Symbolic link
1
.github/skills/frontend-testing
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
../../.agents/skills/frontend-testing
|
||||
1
.github/skills/orpc-contract-first
vendored
Symbolic link
1
.github/skills/orpc-contract-first
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
../../.agents/skills/orpc-contract-first
|
||||
1
.github/skills/skill-creator
vendored
Symbolic link
1
.github/skills/skill-creator
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
../../.agents/skills/skill-creator
|
||||
1
.github/skills/vercel-react-best-practices
vendored
Symbolic link
1
.github/skills/vercel-react-best-practices
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
../../.agents/skills/vercel-react-best-practices
|
||||
1
.github/skills/web-design-guidelines
vendored
Symbolic link
1
.github/skills/web-design-guidelines
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
../../.agents/skills/web-design-guidelines
|
||||
25
.github/workflows/autofix.yml
vendored
25
.github/workflows/autofix.yml
vendored
@ -79,9 +79,32 @@ jobs:
|
||||
find . -name "*.py" -type f -exec sed -i.bak -E 's/"([^"]+)" \| None/Optional["\1"]/g; s/'"'"'([^'"'"']+)'"'"' \| None/Optional['"'"'\1'"'"']/g' {} \;
|
||||
find . -name "*.py.bak" -type f -delete
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
package_json_file: web/package.json
|
||||
run_install: false
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 24
|
||||
cache: pnpm
|
||||
cache-dependency-path: ./web/pnpm-lock.yaml
|
||||
|
||||
- name: Install web dependencies
|
||||
run: |
|
||||
cd web
|
||||
pnpm install --frozen-lockfile
|
||||
|
||||
- name: ESLint autofix
|
||||
run: |
|
||||
cd web
|
||||
pnpm lint:fix || true
|
||||
|
||||
# mdformat breaks YAML front matter in markdown files. Add --exclude for directories containing YAML front matter.
|
||||
- name: mdformat
|
||||
run: |
|
||||
uvx --python 3.13 mdformat . --exclude ".claude/skills/**"
|
||||
uvx --python 3.13 mdformat . --exclude ".agents/skills/**"
|
||||
|
||||
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
|
||||
|
||||
2
.github/workflows/style.yml
vendored
2
.github/workflows/style.yml
vendored
@ -125,7 +125,7 @@ jobs:
|
||||
- name: Web type check
|
||||
if: steps.changed-files.outputs.any_changed == 'true'
|
||||
working-directory: ./web
|
||||
run: pnpm run type-check:tsgo
|
||||
run: pnpm run type-check
|
||||
|
||||
- name: Web dead code check
|
||||
if: steps.changed-files.outputs.any_changed == 'true'
|
||||
|
||||
Reference in New Issue
Block a user