chore: import upstream snapshot with attribution
CI / Run CI (push) Has been cancelled
CI / check-backend (push) Has been cancelled
CI / check-frontend (push) Has been cancelled
CI / tests (push) Has been cancelled
CI / e2e-tests (push) Has been cancelled
Copilot Setup Steps / copilot-setup-steps (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 12:48:47 +08:00
commit b7f52be4c9
653 changed files with 105877 additions and 0 deletions
@@ -0,0 +1,26 @@
name: Install Node, pnpm and dependencies.
description: Install Node, pnpm and dependencies using cache.
inputs:
node-version:
description: Node.js version
required: true
default: 'lts/*'
runs:
using: composite
steps:
- uses: pnpm/action-setup@v5.0.0
name: Install pnpm
with:
run_install: false
- name: Use Node.js
uses: actions/setup-node@v6.3.0
with:
node-version: ${{ inputs.node-version }}
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'
- name: Install JS dependencies
run: pnpm install
shell: bash
@@ -0,0 +1,37 @@
name: Install Python, uv and dependencies.
description: Install Python, uv and project dependencies using cache
inputs:
python-version:
description: Python version
required: true
default: '3.10'
uv-version:
description: uv version
required: true
default: 'latest'
uv-args:
description: Extra uv args, for example dependencies to install, e.g. --extra tests --extra dev.
required: false
working-directory:
description: Working directory for uv command.
required: false
default: .
runs:
using: composite
steps:
- name: Install uv
uses: astral-sh/setup-uv@v8.0.0
with:
version: ${{ inputs.uv-version }}
enable-cache: true
- name: Set up Python ${{ inputs.python-version }}
id: setup_python
uses: actions/setup-python@v6.2.0
with:
python-version: ${{ inputs.python-version }}
- name: Install Python dependencies
run: uv sync --all-packages ${{ inputs.uv-args }}
shell: bash
working-directory: ${{ inputs.working-directory }}