Skip to content

Commit

Permalink
Merge pull request #194 from buggregator/dx/upgrade-node-in-release
Browse files Browse the repository at this point in the history
Dx/upgrade node in release
  • Loading branch information
Kreezag authored Jul 4, 2024
2 parents 6c6ecbe + 1aa5e8d commit 2f32f19
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG BRANCH=master
RUN git clone -b $BRANCH $REPOSITORY /app

# Build JS files
FROM node:21-alpine as frontend
FROM node:22-alpine as frontend
COPY --from=git /app /app
WORKDIR /app

Expand All @@ -16,8 +16,8 @@ ENV VITE_APP_MODE=production

RUN sed -i "s/\"version\": \".*\"/\"version\": \"${APP_VERSION}\"/" package.json

RUN npm install --ignore-scripts
RUN npm run generate
RUN yarn install --ignore-scripts
RUN yarn generate
RUN rm -rf node_modules

LABEL org.opencontainers.image.source=$REPOSITORY
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'npm'
node-version: 22.x
cache: 'yarn'
- run: yarn install
- run: yarn generate

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache: 'yarn'
- run: yarn install
- run: yarn lint
- run: yarn test
Expand Down

0 comments on commit 2f32f19

Please sign in to comment.