Skip to content

Commit

Permalink
ci(browser): run npm install with legacy-peer-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
yousif-bugsnag committed Sep 27, 2024
1 parent 4133ddf commit f6a0e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.browser
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ RUN npm install --no-package-lock --no-save --legacy-peer-deps \
# install the dependencies and build each fixture
WORKDIR /app/test/browser/features/fixtures
RUN find . -name package.json -type f -mindepth 2 -maxdepth 3 ! -path "./node_modules/*" | \
xargs -I % bash -c 'cd `dirname %` && npm install --no-package-lock && npm run build'
xargs -I % bash -c 'cd `dirname %` && npm install --no-package-lock --legacy-peer-deps && npm run build'

# once the fixtures are built we no longer need node_modules and
# it makes the COPY later on much faster if we don't have them
Expand Down

0 comments on commit f6a0e8f

Please sign in to comment.