Commit 3e41d21 1 parent 48ea4c3 commit 3e41d21 Copy full SHA for 3e41d21
File tree 5 files changed +16290
-11862
lines changed
5 files changed +16290
-11862
lines changed Original file line number Diff line number Diff line change 79
79
with :
80
80
node-version : " 18"
81
81
82
- - name : Install project dependencies
83
- run : yarn global add prettier
82
+ - name : Enable corepack and set yarn version
83
+ run : corepack enable && yarn set version 4.6.0
84
+
85
+ - name : Install prettier
86
+ run : yarn dlx prettier
84
87
85
88
- name : Run prettier code formatter
86
89
run : ./run-tests.sh --check-prettier
96
99
with :
97
100
node-version : " 18"
98
101
99
- - name : Install project dependencies
100
- run : yarn global add eslint
102
+ - name : Enable corepack and set yarn version
103
+ run : corepack enable && yarn set version 4.6.0
104
+
105
+ - name : Install eslint
106
+ run : yarn dlx eslint
101
107
102
108
- name : Run prettier code formatter
103
109
run : ./run-tests.sh --check-lint
@@ -113,6 +119,9 @@ jobs:
113
119
with :
114
120
node-version : " 18"
115
121
122
+ - name : Enable corepack and set yarn version
123
+ run : corepack enable && yarn set version 4.6.0
124
+
116
125
- name : Install project dependencies
117
126
run : yarn
118
127
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ ENV DEBIAN_FRONTEND=noninteractive
9
9
WORKDIR /code
10
10
COPY . /code
11
11
12
+ RUN yarn set version 4.6.0
13
+
12
14
# Build frontend application
13
15
# hadolint ignore=DL3003,DL3008
14
16
RUN apt-get update -y && \
Original file line number Diff line number Diff line change
1
+ nodeLinker : node-modules
Original file line number Diff line number Diff line change 25
25
"redux-thunk" : " ^2.3.0" ,
26
26
"semantic-ui-react" : " ^2.0.0"
27
27
},
28
- "resolutions" : {
29
- "jsroot/gl/node-gyp" : " <9.4.0"
30
- },
31
28
"scripts" : {
32
29
"analyze" : " source-map-explorer 'build/static/js/*.js'" ,
33
30
"start" : " craco start" ,
76
73
"transformIgnorePatterns" : [
77
74
" node_modules/(?!axios)/"
78
75
]
79
- }
76
+ },
77
+ "packageManager" :
" [email protected] "
80
78
}
You can’t perform that action at this time.
0 commit comments