From c99d77884e7405d553e5a46f28cdf51a2cfd5384 Mon Sep 17 00:00:00 2001 From: everpcpc Date: Wed, 20 Nov 2024 18:39:36 +0800 Subject: [PATCH] z --- .github/workflows/frontend.yml | 13 +++++++++---- frontend/package.json | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 945e54cc..ae8f9354 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -21,10 +21,15 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "22" - cache: "yarn" - - name: Build Frontend + - run: corepack enable + + - name: Install dependencies + working-directory: frontend/ + run: | + yarn install --immutable + + - name: Build + working-directory: frontend/ run: | - yarn install yarn build - mv build ../cli/frontend diff --git a/frontend/package.json b/frontend/package.json index edb9940b..eed48749 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -52,5 +52,5 @@ "postcss": "^8.4.47", "tailwindcss": "^3.4.13" }, - "packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447" + "packageManager": "yarn@1.22.21+sha512.ca75da26c00327d26267ce33536e5790f18ebd53266796fbb664d2a4a5116308042dd8ee7003b276a20eace7d3c5561c3577bdd71bcb67071187af124779620a" }