File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ARG BRANCH=master
66RUN git clone -b $BRANCH $REPOSITORY /app
77
88# Build JS files
9- FROM node:21 -alpine as frontend
9+ FROM node:22 -alpine as frontend
1010COPY --from=git /app /app
1111WORKDIR /app
1212
@@ -16,8 +16,8 @@ ENV VITE_APP_MODE=production
1616
1717RUN sed -i "s/\" version\" : \" .*\" /\" version\" : \" ${APP_VERSION}\" /" package.json
1818
19- RUN npm install --ignore-scripts
20- RUN npm run generate
19+ RUN yarn install --ignore-scripts
20+ RUN yarn generate
2121RUN rm -rf node_modules
2222
2323LABEL org.opencontainers.image.source=$REPOSITORY
Original file line number Diff line number Diff line change 1414 - uses : actions/checkout@v3
1515 - uses : actions/setup-node@v3
1616 with :
17- node-version : 20 .x
18- cache : ' npm '
17+ node-version : 22 .x
18+ cache : ' yarn '
1919 - run : yarn install
2020 - run : yarn generate
2121
Original file line number Diff line number Diff line change 2323 uses : actions/setup-node@v3
2424 with :
2525 node-version : ${{ matrix.node-version }}
26- cache : ' npm '
26+ cache : ' yarn '
2727 - run : yarn install
2828 - run : yarn lint
2929 - run : yarn test
You can’t perform that action at this time.
0 commit comments