mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 07:16:52 -06:00
Move yarn to berry first before moving to 3.x
This commit is contained in:
parent
cfa7bef407
commit
5a7583654f
7
.github/workflows/run-javascript-tests.yml
vendored
7
.github/workflows/run-javascript-tests.yml
vendored
@ -22,12 +22,17 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: '18.x'
|
||||||
|
|
||||||
- name: Upgrade yarn
|
- name: Upgrade yarn
|
||||||
run: |
|
run: |
|
||||||
|
yarn set version berry
|
||||||
yarn set version 3
|
yarn set version 3
|
||||||
|
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Node modules
|
- name: Install Node modules
|
||||||
run: |
|
run: |
|
||||||
cd web
|
cd web
|
||||||
|
@ -46,6 +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 berry && \
|
||||||
yarn set version 3 && \
|
yarn set version 3 && \
|
||||||
yarn install && \
|
yarn install && \
|
||||||
yarn run bundle && \
|
yarn run bundle && \
|
||||||
|
Loading…
Reference in New Issue
Block a user