Skip to content

Commit

Permalink
build(package): upgrade to yarn v4 (#420)
Browse files Browse the repository at this point in the history
Closes #346
  • Loading branch information
Alputer committed Feb 7, 2025
1 parent 48ea4c3 commit 5f683bb
Show file tree
Hide file tree
Showing 5 changed files with 16,286 additions and 11,858 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ jobs:
with:
node-version: "18"

- name: Enable Corepack
run: corepack enable

- name: Install project dependencies
run: yarn global add prettier

Expand All @@ -96,6 +99,9 @@ jobs:
with:
node-version: "18"

- name: Enable Corepack
run: corepack enable

- name: Install project dependencies
run: yarn global add eslint

Expand All @@ -113,6 +119,9 @@ jobs:
with:
node-version: "18"

- name: Enable Corepack
run: corepack enable

- name: Install project dependencies
run: yarn

Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /code
COPY . /code

RUN yarn set version 4.6.0

# Build frontend application
# hadolint ignore=DL3003,DL3008
RUN apt-get update -y && \
Expand Down
1 change: 1 addition & 0 deletions reana-ui/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
6 changes: 2 additions & 4 deletions reana-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
"redux-thunk": "^2.3.0",
"semantic-ui-react": "^2.0.0"
},
"resolutions": {
"jsroot/gl/node-gyp": "<9.4.0"
},
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"start": "craco start",
Expand Down Expand Up @@ -76,5 +73,6 @@
"transformIgnorePatterns": [
"node_modules/(?!axios)/"
]
}
},
"packageManager": "yarn@4.6.0"
}
Loading

0 comments on commit 5f683bb

Please sign in to comment.