提交 086adc99 authored 作者: Will Chen's avatar Will Chen

infra(gha): fix ci workflow

上级 d268814d
......@@ -21,18 +21,12 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "0.5.30"
- name: Initialize environment
uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: yarn
cache-dependency-path: yarn.lock
cache: npm
cache-dependency-path: package-lock.json
- name: Install node modules
run: npm install
- name: Type-checking
......
......@@ -8,6 +8,9 @@
"type": "git",
"url": "https://github.com/dyad-sh/dyad.git"
},
"engines": {
"node": ">=20"
},
"scripts": {
"start": "electron-forge start",
"package": "rm -rf out && rm -rf scaffold/node_modules && electron-forge package",
......@@ -113,4 +116,4 @@
"update-electron-app": "^3.1.1",
"uuid": "^11.1.0"
}
}
}
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论