Skip to content

Commit

Permalink
chore: Use CI build for E2E frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Aug 21, 2024
1 parent 602c4c9 commit fd8920d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/tests/ui-driven/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cd $(dirname "$0")

source ../../../.env

(cd ../../../editor.planx.uk && pnpm install --frozen-lockfile && REACT_APP_ENV=test pnpm build)
(cd ../../../editor.planx.uk && pnpm install --frozen-lockfile && REACT_APP_ENV=test pnpm build:ci)

if [ -z "${CI}" ]; then
echo "Please make sure you have Chrome installed on this machine."
Expand Down
1 change: 1 addition & 0 deletions editor.planx.uk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
"scripts": {
"start": "craco start",
"build": "CI=false && craco build",
"build:ci": "CI=true && craco build",
"test": "react-scripts test",
"test:silent": "react-scripts test --silent",
"eject": "react-scripts eject",
Expand Down

0 comments on commit fd8920d

Please sign in to comment.