Skip to content

Commit

Permalink
Move yarn to berry first before moving to 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
adityatoshniwal committed Oct 26, 2023
1 parent cfa7bef commit 5a75836
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/run-javascript-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,17 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'

- name: Upgrade yarn
run: |
yarn set version berry
yarn set version 3
- uses: actions/checkout@v3

- name: Install Node modules
run: |
cd web
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +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 && \
yarn install && \
yarn run bundle && \
Expand Down

0 comments on commit 5a75836

Please sign in to comment.