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:
|
||||
- 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",
|
||||
|
||||
Reference in New Issue
Block a user