This is an automated email from the ASF dual-hosted git repository.

liuxiran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 93b9765  feat(FE): skip Cypress binary install when build (#1248)
93b9765 is described below

commit 93b9765e3e77c6cefe0487e1657886d5f05d4146
Author: litesun <[email protected]>
AuthorDate: Sat Jan 9 00:01:50 2021 +0800

    feat(FE): skip Cypress binary install when build (#1248)
---
 .github/workflows/test-frontend-multiple-node-build.yml | 2 +-
 Makefile                                                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/test-frontend-multiple-node-build.yml 
b/.github/workflows/test-frontend-multiple-node-build.yml
index 7a29774..e1f78da 100644
--- a/.github/workflows/test-frontend-multiple-node-build.yml
+++ b/.github/workflows/test-frontend-multiple-node-build.yml
@@ -35,7 +35,7 @@ jobs:
       # Install dependencies
       - name: Install dependencies
         working-directory: web
-        run: yarn
+        run: CYPRESS_INSTALL_BINARY=0 yarn
 
       - name: Lint
         working-directory: web
diff --git a/Makefile b/Makefile
index ec962c2..79de9e0 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ help:
 ### build:             Build Apache APISIX Dashboard, it contains web and 
manager-api
 .PHONY: build
 build: web-default api-default
-       api/build.sh && cd ./web && export 
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true && yarn install && yarn build  && mkdir 
-p ../output/logs
+       api/build.sh && cd ./web && export CYPRESS_INSTALL_BINARY=0  && yarn 
install && yarn build  && mkdir -p ../output/logs
 
 
 .PHONY: web-default

Reply via email to