From dadb4fa177e7e502d020449a7d6c191ab6489d6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=8E=E4=BD=95=E5=BC=80=E5=A7=8B123?= <64304674+yeahhe365@users.noreply.github.com> Date: Fri, 22 May 2026 03:01:22 +0800 Subject: [PATCH] chore: add CI, dependency updates, and clean metadata --- .DS_Store | Bin 6148 -> 0 bytes .github/dependabot.yml | 18 +++++++++++++++ .github/workflows/ci.yml | 46 +++++++++++++++++++++++++++++++++++++++ .gitignore | 1 + 4 files changed, 65 insertions(+) delete mode 100644 .DS_Store create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/ci.yml create mode 100644 .gitignore diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index fb7ff2c2542d42141edbed0a14a0b185e6e387a3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHKOHRWu5PdEcv>>4_S>^&DA(m{?(kv=ToINo&^7mQAAb-MYq>NLb~fzI|w{bI!`V4%Zk@Zof1 zrxA+tqx1WbcZZ7uT5bxM0(Av8LbW6BfAV$wUng136fgz;l>)BWPy0PCN#EAB#mQS6 sF%6l-#IFjtps?VdV*1KcyvO8??U59Sv0@dFEj0TP@G@9t3jC-7AH;54<^TWy diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..1240e37 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,18 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + - package-ecosystem: "npm" + directory: "/aliyun-api" + schedule: + interval: "weekly" + - package-ecosystem: "npm" + directory: "/modelscope-api" + schedule: + interval: "weekly" + - package-ecosystem: "npm" + directory: "/qwen3-asr-studio" + schedule: + interval: "weekly" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..8bc016d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,46 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + +jobs: + build: + name: ${{ matrix.project }} + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + project: + - aliyun-api + - modelscope-api + - qwen3-asr-studio + env: + DATABASE_URL: file:./ci.db + defaults: + run: + working-directory: ${{ matrix.project }} + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: Install dependencies + shell: bash + run: | + if [ -f package-lock.json ]; then + npm ci + else + npm install --no-package-lock + fi + + - name: Test + run: npm test --if-present + + - name: Build + run: npm run build --if-present diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store