Skip to content

Commit 488f28e

Browse files
committed
fix(#2192): Optimize and fix vulnerabilities in frontend and metadata services
1 parent 5d433b7 commit 488f28e

File tree

54 files changed

+67707
-32759
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+67707
-32759
lines changed

.github/workflows/code_check_frontend.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ jobs:
3434
NODE_AUTH_TOKEN: ${{ secrets.NPMRC_TOKEN }}
3535

3636
- name: 🧪 Test
37-
env:
38-
NODE_OPTIONS: "--max_old_space_size=8192"
3937
run: |
4038
npm run test
4139

.github/workflows/frontend_sonar_scan.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131
- name: 🧪 Test
3232
working-directory: govtool/frontend
3333
env:
34-
NODE_OPTIONS: "--max_old_space_size=6144"
3534
NODE_AUTH_TOKEN: ${{ secrets.NPMRC_TOKEN }}
3635
run: |
3736
npm ci

govtool/frontend/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ RUN \
2323
: "${VITE_USERSNAP_SPACE_API_KEY:?Build argument VITE_USERSNAP_SPACE_API_KEY is not set}" && \
2424
: "${VITE_IS_PROPOSAL_DISCUSSION_FORUM_ENABLED:?Build argument VITE_IS_PROPOSAL_DISCUSSION_FORUM_ENABLED is not set}"
2525

26-
ENV NODE_OPTIONS=--max_old_space_size=8192
27-
2826
WORKDIR /src
2927

3028
# Set npm configuration settings using environment variables

govtool/frontend/Dockerfile.qovery

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ ARG VITE_USERSNAP_SPACE_API_KEY
1111
ARG VITE_IS_PROPOSAL_DISCUSSION_FORUM_ENABLED='true'
1212
ARG VITE_PDF_API_URL
1313

14-
ENV NODE_OPTIONS=--max_old_space_size=8192
15-
1614
WORKDIR /src
1715

1816
# Set npm configuration settings using environment variables

govtool/frontend/junit-report.xml

Lines changed: 205 additions & 120 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)