From f50f799b88cf3056632729630a334e323936c669 Mon Sep 17 00:00:00 2001 From: Aditya Toshniwal Date: Thu, 26 Oct 2023 12:37:35 +0530 Subject: [PATCH] Use yarn version 3.x as berry is taking version 4.x now --- .github/workflows/run-javascript-tests.yml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-javascript-tests.yml b/.github/workflows/run-javascript-tests.yml index cf899a1a2..563533d0b 100644 --- a/.github/workflows/run-javascript-tests.yml +++ b/.github/workflows/run-javascript-tests.yml @@ -26,7 +26,7 @@ jobs: - name: Upgrade yarn run: | - yarn set version berry + yarn set version 3.x - name: Install Node modules run: | diff --git a/Dockerfile b/Dockerfile index ab08b6487..695ca93be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,7 +46,7 @@ WORKDIR /pgadmin4/web # Build the JS vendor code in the app-builder, and then remove the vendor source. RUN export CPPFLAGS="-DPNG_ARM_NEON_OPT=0" && \ - yarn set version berry && \ + yarn set version 3.x && \ yarn install && \ yarn run bundle && \ rm -rf node_modules \