Merge remote-tracking branch 'origin/main'
This commit is contained in:
2
.github/workflows/lint.yaml
vendored
2
.github/workflows/lint.yaml
vendored
@ -11,7 +11,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 🛠️ 设置Node环境
|
||||
uses: yanhao98/composite-actions/setup-node-environment@2a7a660cc4fdb631baef3e19ac1c2362829e2181
|
||||
uses: yanhao98/composite-actions/setup-node-environment@90b51303f2548c03557047ecd5f10397431db25a
|
||||
- name: 🔍 静态代码分析
|
||||
run: pnpm run lint
|
||||
- name: 📦 构建项目
|
||||
|
6
.github/workflows/playwright.yaml
vendored
6
.github/workflows/playwright.yaml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
url: ${{ steps.surge_deploy.outputs.url }}
|
||||
steps:
|
||||
- name: ⚙️ 设置 Node 环境
|
||||
uses: yanhao98/composite-actions/setup-node-environment@2a7a660cc4fdb631baef3e19ac1c2362829e2181
|
||||
uses: yanhao98/composite-actions/setup-node-environment@90b51303f2548c03557047ecd5f10397431db25a
|
||||
- name: 🔨 构建项目
|
||||
run: pnpm run build-only
|
||||
env:
|
||||
@ -23,14 +23,14 @@ jobs:
|
||||
- name: 🚀 部署到 Surge
|
||||
id: surge_deploy
|
||||
if: ${{ github.actor != 'nektos/act' }} # https://nektosact.com/usage/index.html#skipping-steps
|
||||
uses: yanhao98/composite-actions/deploy-dist-to-surge@2a7a660cc4fdb631baef3e19ac1c2362829e2181
|
||||
uses: yanhao98/composite-actions/deploy-dist-to-surge@90b51303f2548c03557047ecd5f10397431db25a
|
||||
playwright:
|
||||
needs: surge
|
||||
runs-on: ubuntu-latest
|
||||
container: yanhao98/runner-images:pnpm-with-playwright
|
||||
steps:
|
||||
- name: ⚙️ 设置 Node 环境
|
||||
uses: yanhao98/composite-actions/setup-node-environment@2a7a660cc4fdb631baef3e19ac1c2362829e2181
|
||||
uses: yanhao98/composite-actions/setup-node-environment@90b51303f2548c03557047ecd5f10397431db25a
|
||||
- name: 📥 安装 Playwright 浏览器
|
||||
run: pnpm exec playwright install --with-deps
|
||||
- name: ▶️ 运行 Playwright 测试
|
||||
|
2
.github/workflows/vercel.yaml
vendored
2
.github/workflows/vercel.yaml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: ⚙️ 设置 Node 环境
|
||||
uses: yanhao98/composite-actions/setup-node-environment@2a7a660cc4fdb631baef3e19ac1c2362829e2181
|
||||
uses: yanhao98/composite-actions/setup-node-environment@90b51303f2548c03557047ecd5f10397431db25a
|
||||
|
||||
- name: 📥 拉取 Vercel 环境信息
|
||||
run: pnpm dlx vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
|
||||
|
@ -115,7 +115,7 @@
|
||||
"eruda": "^3.4.1",
|
||||
"eslint": "^9.23.0",
|
||||
"eslint-plugin-import-x": "^4.9.4",
|
||||
"eslint-plugin-oxlint": "^0.16.3",
|
||||
"eslint-plugin-oxlint": "^0.16.4",
|
||||
"eslint-plugin-perfectionist": "^4.10.1",
|
||||
"eslint-plugin-unicorn": "^58.0.0",
|
||||
"eslint-plugin-vue": "^10.0.0",
|
||||
@ -124,11 +124,11 @@
|
||||
"lint-staged": "^15.5.0",
|
||||
"mockjs": "^1.1.0",
|
||||
"npm-run-all2": "^7.0.2",
|
||||
"oxlint": "^0.16.3",
|
||||
"oxlint": "^0.16.4",
|
||||
"prettier": "3.5.3",
|
||||
"sass-embedded": "^1.86.0",
|
||||
"terser": "^5.39.0",
|
||||
"typescript": "~5.8.2",
|
||||
"typescript": "~5.8.3",
|
||||
"unocss": "66.1.0-beta.7",
|
||||
"unocss-preset-animations": "^1.1.1",
|
||||
"unocss-preset-chinese": "^0.3.3",
|
||||
|
794
pnpm-lock.yaml
generated
794
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user