Skip to content

Commit

Permalink
feat(FE): skip Cypress binary install when build (#1248)
Browse files Browse the repository at this point in the history
  • Loading branch information
LiteSun authored Jan 8, 2021
1 parent 40d8f97 commit 93b9765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-frontend-multiple-node-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 93b9765

Please sign in to comment.