infra(gha): fix ci workflow
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -21,18 +21,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install uv
|
|
||||||
uses: astral-sh/setup-uv@v5
|
|
||||||
with:
|
|
||||||
version: "0.5.30"
|
|
||||||
|
|
||||||
- name: Initialize environment
|
- name: Initialize environment
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version-file: package.json
|
node-version-file: package.json
|
||||||
cache: yarn
|
cache: npm
|
||||||
cache-dependency-path: yarn.lock
|
cache-dependency-path: package-lock.json
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
run: npm install
|
run: npm install
|
||||||
- name: Type-checking
|
- name: Type-checking
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/dyad-sh/dyad.git"
|
"url": "https://github.com/dyad-sh/dyad.git"
|
||||||
},
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=20"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "electron-forge start",
|
"start": "electron-forge start",
|
||||||
"package": "rm -rf out && rm -rf scaffold/node_modules && electron-forge package",
|
"package": "rm -rf out && rm -rf scaffold/node_modules && electron-forge package",
|
||||||
|
|||||||
Reference in New Issue
Block a user