1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-02-03 02:23:38 +08:00

feat: 引入@142vip/utils模块,删除.exec执行器,优化scripts脚本逻辑和流程 (#100)

* feat: 引入`@142vip/utils`模块,删除`.exec`执行器,优化`scripts`脚本逻辑和流程

* chore: update

* chore: update package.json

---------

Co-authored-by: 142vip.cn <fairy@2925.com>
This commit is contained in:
142vip.cn
2024-09-25 15:14:17 +08:00
committed by GitHub
parent 00435ea417
commit e792ed40b2
10 changed files with 70 additions and 493 deletions

View File

@@ -42,19 +42,17 @@ jobs:
# “最近更新时间” 等 git 日志相关信息,需要拉取全部提交记录
fetch-depth: 0
## 安装PNPM
# 安装PNPM
- name: PNPM Install
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
version: 8
version: 9.6.0
## 安装Node环境
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18.18.0
## 淘宝镜像加速
registry-url: 'https://registry.npmmirror.com'
## 缓存
cache: 'pnpm'
@@ -69,11 +67,11 @@ jobs:
- name: Build Site
run: |
./scripts/bundle build
pnpm build
- name: Build Site With Proxy
run: |
./scripts/bundle build_proxy
pnpm build:proxy
Build-Docker-Image:
name: "构建Docker镜像"