Skip to content

Commit

Permalink
fix(e2e): install kratos-selfservice-ui-node peer deps (#3354)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benehiko authored Jun 29, 2023
1 parent 0ed1abd commit ce20063
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -292,7 +292,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
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce20063

Please sign in to comment.