Skip to content

Commit 2f32f19

Browse files
authored
Merge pull request #194 from buggregator/dx/upgrade-node-in-release
Dx/upgrade node in release
2 parents 6c6ecbe + 1aa5e8d commit 2f32f19

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.docker/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARG BRANCH=master
66
RUN 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
1010
COPY --from=git /app /app
1111
WORKDIR /app
1212

@@ -16,8 +16,8 @@ ENV VITE_APP_MODE=production
1616

1717
RUN 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
2121
RUN rm -rf node_modules
2222

2323
LABEL org.opencontainers.image.source=$REPOSITORY

.github/workflows/release-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
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

.github/workflows/test-build-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
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

0 commit comments

Comments
 (0)