From 34f0a085085d549d82b30a9513d820a3d19f9743 Mon Sep 17 00:00:00 2001 From: canisminor1990 Date: Sat, 20 Jan 2024 02:29:03 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20Add=20auto=20sync?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 3 +++ package.json | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index db0be39..ab7f684 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,9 @@ name: Build and Release on: + workflow_dispatch: + schedule: + - cron: '0 0 * * *' # every day push: branches: - master diff --git a/package.json b/package.json index 826b644..15d7cee 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,9 @@ "homepage": "https://github.com/lobehub/lobe-openai-plugins", "repository": "https://github.com/lobehub/lobe-openai-plugins.git", "scripts": { - "build": "tsx src/index.ts", + "build": "bun src/index.ts", "ci": "npm run lint && npm run type-check", - "dev": "tsx src/index.ts", + "dev": "bun src/index.ts", "lint": "eslint \"{src,api,docs}/**/*.{js,jsx,ts,tsx}\" --fix", "lint:md": "remark . --quiet --frail --output", "prepare": "husky install", @@ -50,7 +50,6 @@ "remark": "^14", "remark-cli": "^11", "stylelint": "^15", - "tsx": "^4", "typescript": "^5", "url-join": "^5" }