From 086adc9955c1f8c9551bbbeefb359ddb37803300 Mon Sep 17 00:00:00 2001 From: Will Chen Date: Mon, 14 Apr 2025 23:22:23 -0700 Subject: [PATCH] infra(gha): fix ci workflow --- .github/workflows/ci.yml | 10 ++-------- package.json | 5 ++++- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f65b79a..0fbcf52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/package.json b/package.json index 82d44bc..086cd02 100644 --- a/package.json +++ b/package.json @@ -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