Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.
/ elabimg Public archive

Commit ffb470e

Browse files
committed
ci: use yarn workspaces focus to avoid storing devDependencies unplugged
this should fix issue with the systeminformation package from cypress having cve and it was scanned by trivy because present in /elabftw/.yarn/unplugged
1 parent 53c18ab commit ffb470e

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.github/workflows/build_hypernext.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ jobs:
9797
# use only the vuln scanner to avoid OOM kill with secrets scanning
9898
#not working: scanners: 'vuln'
9999
severity: 'CRITICAL,HIGH'
100-
args: '--prod'
101100

102101
# SBOM
103102
- name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ RUN corepack enable
288288
# so in order for composer to take it into account, it must exist before we call the install command of composer.
289289
RUN if [ "$BUILD_ALL" = "1" ]; then yarn install \
290290
&& yarn run buildall:prod \
291+
&& yarn workspaces focus -A --production \
291292
&& /usr/bin/php84 -d memory_limit=256M -d open_basedir='' /usr/local/bin/composer install --prefer-dist --no-cache --no-progress --no-dev -a \
292293
&& yarn cache clean && rm -r /root/.cache /root/.yarn; fi
293294

0 commit comments

Comments
 (0)