Commit Graph

37 Commits

Author SHA1 Message Date
手瓜一十雪
44a78da9be Refactor GitHub tag fetching and mirror management
Replaces legacy tag fetching logic in napcat-common with a new mirror.ts module that centralizes GitHub mirror configuration, selection, and tag retrieval. Updates helper.ts to use the new mirror system and semver comparison, and exports compareSemVer for broader use. Updates workflows and scripts to generate and propagate build version information, and improves build status comment formatting for PRs. Also updates release workflow to use a new OpenAI key and model.
2026-01-03 14:42:24 +08:00
手瓜一十雪
9d86472ff4 Add test step to build workflow
Inserts 'pnpm test' into both build jobs in the GitHub Actions workflow to ensure tests are run during CI before building artifacts.
2025-11-15 16:25:06 +08:00
手瓜一十雪
a97b9b4e2f Add type checking to build workflow
Incorporates 'pnpm run typecheck' into the build steps for both frontend and shell jobs to ensure type safety during CI builds.
2025-11-15 14:01:11 +08:00
手瓜一十雪
e62c54f5ab Rename workflow job to node-shell-docker
Changed the job name from 'trigger-napcat-release' to 'node-shell-docker' in the trigger-docker-publish.yml workflow for improved clarity.
2025-11-14 13:12:21 +08:00
手瓜一十雪
ec705e68a0 Rename workflow job from Build-LiteLoader to Build-Framework
Updated workflow job names and dependencies in auto-release.yml, build.yml, and release.yml from 'Build-LiteLoader' to 'Build-Framework' for clarity and consistency. Also updated bug report template to reference version location in WebUI instead of settings page.
2025-11-14 13:05:29 +08:00
手瓜一十雪
de4a90f13b Switch build and release workflows to npm install
Replaces pnpm install with npm install --omit=dev in both framework and shell build steps for build and release workflows. Removes package-lock.json after installation to avoid including it in artifacts.
2025-11-13 15:57:05 +08:00
手瓜一十雪
6b780a57de Update pnpm install flags in CI workflows
Replaces '--production' with '--prod --shamefully-hoist' in build and release GitHub Actions workflows to improve dependency installation compatibility.
2025-11-13 15:53:37 +08:00
手瓜一十雪
31a94106f4 Update artifact paths in build and release workflows
Artifacts for NapCat.Framework and NapCat.Shell are now moved to 'framework-dist' and 'shell-dist' directories before upload. This change standardizes output locations and updates the upload paths accordingly in both build.yml and release.yml.
2025-11-13 15:49:11 +08:00
手瓜一十雪
6bec765fb1 Install pnpm globally in build and release workflows
Added 'npm i -g pnpm' to both build and release GitHub Actions workflows to ensure pnpm is available before running installation and build commands.
2025-11-13 15:42:05 +08:00
手瓜一十雪
ed19c52f25 refactor: 整体重构 (#1381)
* feat: pnpm new

* Refactor build and release workflows, update dependencies

Switch build scripts and workflows from npm to pnpm, update build and artifact paths, and simplify release workflow by removing version detection and changelog steps. Add new dependencies (silk-wasm, express, ws, node-pty-prebuilt-multiarch), update exports in package.json files, and add vite config for napcat-framework. Also, rename manifest.json for framework package and fix static asset copying in shell build config.
2025-11-13 15:39:42 +08:00
手瓜一十雪
e084cb7163 feat: ffmpeg download auto 2025-04-17 14:28:51 +08:00
手瓜一十雪
8f1fbe351c fix: ffmpeg 2025-04-17 13:55:31 +08:00
pk5ls20
38cbb8d2b0 fix: ci 2024-11-20 19:51:29 +08:00
pk5ls20
5fc97505c4 fix: workflow 2024-11-17 06:24:58 +08:00
pk5ls20
808ec2dbae chore: workflow 2024-11-17 06:23:33 +08:00
手瓜一十雪
e5b89b7eaa fix: 打包流程 2024-11-16 12:57:12 +08:00
pk5ls20
d1d363e57e chore: workflow build check 2024-11-14 14:30:56 +08:00
手瓜一十雪
658b1e99cd Revert "chore: workflow"
This reverts commit a8b954f1f7.
2024-09-16 19:03:14 +08:00
手瓜一十雪
a8b954f1f7 chore: workflow 2024-09-15 15:20:44 +08:00
Seijo Cecilia
76c1761a2a update(workflow): 'build' can only be triggered manually 2024-08-30 16:00:33 +08:00
手瓜一十雪
fa322af85d build: v2.0.0 nopackage 2024-08-12 01:27:24 +08:00
手瓜一十雪
145d0c2a0d build: v2.0.0 fast 2024-08-12 01:17:47 +08:00
手瓜一十雪
65860c05dc build: v2.0.0 fast 2024-08-12 01:15:52 +08:00
手瓜一十雪
28175c40ef build: v2.0.0 fast test 2024-08-12 01:14:38 +08:00
手瓜一十雪
750f4e1c17 chore: build 2024-08-12 01:13:03 +08:00
手瓜一十雪
06b9530959 chore: build 2024-08-12 01:09:30 +08:00
手瓜一十雪
50fc1d81e7 chore: build script 2024-06-26 17:16:54 +08:00
手瓜一十雪
b5b1c89146 build: try support ia32 2024-06-17 10:03:59 +08:00
手瓜一十雪
eac7f50377 fix:ref to main 2024-04-28 20:53:34 +08:00
手瓜一十雪
14b29379eb chore: 新增手动打包测试 2024-04-28 18:44:32 +08:00
手瓜一十雪
c2959fbf2b fix: remove darwin build 2024-04-28 00:02:26 +08:00
手瓜一十雪
9eb31ca9c6 fix:token workflow 2024-04-27 23:50:34 +08:00
linyuchen
cc166a8f94 chore: change action token 2024-04-17 18:27:08 +08:00
手瓜一十雪
600ac123e0 limit:workflow 2024-04-16 14:10:31 +08:00
手瓜一十雪
52c36d840f fix:build 2024-04-15 11:26:11 +08:00
手瓜一十雪
e8fe96bb48 fix:build workflow 2024-04-15 10:54:36 +08:00
手瓜一十雪
bee7d0645e chore:workflow-build 2024-04-15 10:48:08 +08:00