diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f18cd059d1ed..5c2721cf7ec1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -188,7 +188,7 @@ jobs: path: node-ui - run: | cd node-ui - npm install + npm install --legacy-peer-deps - name: Install selfservice-ui-react-nextjs uses: actions/checkout@v3 diff --git a/test/e2e/run.sh b/test/e2e/run.sh index 273b99318d15..94c84296f951 100755 --- a/test/e2e/run.sh +++ b/test/e2e/run.sh @@ -98,7 +98,7 @@ prepare() { if [ -z ${NODE_UI_PATH+x} ]; then node_ui_dir="$(mktemp -d -t ci-XXXXXXXXXX)/kratos-selfservice-ui-node" git clone --depth 1 --branch master https://github.com/ory/kratos-selfservice-ui-node.git "$node_ui_dir" - (cd "$node_ui_dir" && npm i && npm run build) + (cd "$node_ui_dir" && npm i --legacy-peer-deps && npm run build) else node_ui_dir="${NODE_UI_PATH}" fi