Skip to content

Commit 1c53e1c

Browse files
Bump node from 22-alpine to 24-alpine (#1505)
* Bump node from 22-alpine to 24-alpine Bumps node from 22-alpine to 24-alpine. --- updated-dependencies: - dependency-name: node dependency-version: 24-alpine dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Update node&docker.yml * Update package.json * Update node&docker.yml --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bervianto Leo Pratama <bervianto.leo@gmail.com>
1 parent 4c45c52 commit 1c53e1c

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/node&docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-24.04
1818
strategy:
1919
matrix:
20-
node-version: [20.x, 22.x]
20+
node-version: [22.x, 24.x]
2121
steps:
2222
- uses: actions/checkout@v4
2323
- name: Use Node.js ${{ matrix.node-version }}
@@ -36,7 +36,7 @@ jobs:
3636
yarn compile
3737
- uses: codecov/codecov-action@v5
3838
name: Codecov
39-
if: ${{ matrix.node-version == '20.x' }}
39+
if: ${{ matrix.node-version == '22.x' }}
4040
with:
4141
token: ${{ secrets.CODECOV_TOKEN }} # required
4242
docker-build:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM node:22-alpine as build
1+
FROM node:24-alpine as build
22
# Create app directory
33
WORKDIR /app
44
COPY package.json yarn.lock ./
55
RUN apk add --no-cache git && yarn --frozen-lockfile
66
COPY . .
77
RUN yarn compile
88

9-
FROM node:22-alpine as runner
9+
FROM node:24-alpine as runner
1010
# Bundle app source
1111
WORKDIR /app
1212
COPY --from=build /app/lib /app/lib

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"config": "config/"
2121
},
2222
"engines": {
23-
"node": "^20.0.0 || ^22.0.0",
23+
"node": "^22.0.0 || ^24.0.0",
2424
"npm": ">=3.0.0"
2525
},
2626
"scripts": {

0 commit comments

Comments
 (0)