From 96452ab46100269482ae29fc900ae0a86ea12415 Mon Sep 17 00:00:00 2001 From: "rx.wu" Date: Thu, 25 Aug 2022 19:10:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=93=E5=8C=85=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 3 +-- package.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 620b9f0..0a21c55 100755 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,8 +21,7 @@ jobs: node-version: 16 - name: npm install and build run: | - npm install -g cnpm - cnpm install + npm install -f npm run build env: CI: true diff --git a/package.json b/package.json index 0af8f11..fd9a4cd 100755 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "react-split-pane": "^0.1.92", "react-syntax-highlighter": "^15.4.3", "react-tooltip": "^4.2.21", - "umi": "3.5.22", + "umi": "^3.5.22", "umi-request": "1.0.8" }, "devDependencies": {