infra(gha): fix ci workflow

This commit is contained in:
Will Chen
2025-04-14 23:22:23 -07:00
parent d268814d00
commit 086adc9955
2 changed files with 6 additions and 9 deletions

View File

@@ -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

View File

@@ -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",