Do not use minor version x when setting yarn version

This commit is contained in:
Aditya Toshniwal 2023-10-26 13:14:01 +05:30
parent f50f799b88
commit 8997f616a2
4 changed files with 10 additions and 6 deletions

View File

@ -26,7 +26,7 @@ jobs:
- name: Upgrade yarn - name: Upgrade yarn
run: | run: |
yarn set version 3.x yarn set version 3
- name: Install Node modules - name: Install Node modules
run: | run: |

View File

@ -46,7 +46,7 @@ WORKDIR /pgadmin4/web
# Build the JS vendor code in the app-builder, and then remove the vendor source. # Build the JS vendor code in the app-builder, and then remove the vendor source.
RUN export CPPFLAGS="-DPNG_ARM_NEON_OPT=0" && \ RUN export CPPFLAGS="-DPNG_ARM_NEON_OPT=0" && \
yarn set version 3.x && \ yarn set version 3 && \
yarn install && \ yarn install && \
yarn run bundle && \ yarn run bundle && \
rm -rf node_modules \ rm -rf node_modules \

View File

@ -1,5 +1,9 @@
nodeLinker: node-modules
checksumBehavior: update checksumBehavior: update
logFilters: logFilters:
- code: YN0013 - code: YN0013
level: discard level: discard
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-3.6.4.cjs

View File

@ -182,5 +182,5 @@
"auditpy": "safety check --full-report -i 51668 -i 52495", "auditpy": "safety check --full-report -i 51668 -i 52495",
"audit": "yarn run auditjs && yarn run auditpy" "audit": "yarn run auditjs && yarn run auditpy"
}, },
"packageManager": "yarn@3.5.0" "packageManager": "yarn@3.6.4"
} }