Skip to content

Commit

Permalink
build: use start-server-and-test for e2e on windows ci
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Dec 10, 2023
1 parent 43866c9 commit e2dcb43
Show file tree
Hide file tree
Showing 2 changed files with 106 additions and 11 deletions.
6 changes: 3 additions & 3 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"scripts": {
"e2e:build": "vuepress-cli build docs --clean-cache --clean-temp",
"e2e:build-webpack": "E2E_BUNDLER=webpack pnpm e2e:build",
"e2e:ci:build": "pnpm e2e:build && pnpm e2e:serve & wait-on http-get://localhost:8088 && pnpm e2e:run --config baseUrl=http://localhost:8088",
"e2e:ci:dev": "pnpm e2e:dev & wait-on http-get://127.0.0.1:8080 && pnpm e2e:run --config baseUrl=http://localhost:8080",
"e2e:ci:build": "pnpm e2e:build && start-server-and-test e2e:serve http-get://localhost:8088 'pnpm e2e:run --config baseUrl=http://localhost:8088'",
"e2e:ci:dev": "start-server-and-test e2e:dev http-get://127.0.0.1:8080 'pnpm e2e:run --config baseUrl=http://localhost:8080'",
"e2e:clean": "rimraf .vuepress/.temp .vuepress/.cache .vuepress/dist",
"e2e:dev": "vuepress-cli dev docs --clean-cache --clean-temp",
"e2e:dev-webpack": "E2E_BUNDLER=webpack pnpm e2e:dev",
Expand All @@ -30,6 +30,6 @@
"devDependencies": {
"anywhere": "^1.6.0",
"cypress": "^13.6.1",
"wait-on": "^7.2.0"
"start-server-and-test": "^2.0.3"
}
}
111 changes: 103 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e2dcb43

Please sign in to comment.