diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index fb7ff2c..0000000 Binary files a/.DS_Store and /dev/null differ 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