Skip to content

Commit

Permalink
remove --legacy-peer-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
yzlucas committed Dec 5, 2024
1 parent 0ac3631 commit 8d1b0d2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/client-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Install dependencies for Angular project
run: |
cd client/wfprev-war/src/main/angular
npm install --legacy-peer-deps
npm install
- name: Build Angular app
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
# Clean npm cache and install dependencies
- run: npm cache clean --force
- run: rm -rf node_modules
- run: npm install --legacy-peer-deps
- run: npm install
working-directory: client/wfprev-war/src/main/angular

# Run unit tests and generate code coverage
Expand Down
2 changes: 1 addition & 1 deletion client/wfprev-war/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
<goal>npm</goal>
</goals>
<configuration>
<arguments>install --legacy-peer-deps --no-package-lock --registry=${npm.url}</arguments>
<arguments>install --no-package-lock --registry=${npm.url}</arguments>
</configuration>
</execution>
<execution>
Expand Down

0 comments on commit 8d1b0d2

Please sign in to comment.