Skip to content

Commit

Permalink
Merge pull request #229 from NDLANO/3778-bump-node-18
Browse files Browse the repository at this point in the history
Bumped to Node20
  • Loading branch information
rauboti authored Nov 20, 2023
2 parents 87199db + c4d7aec commit e9b2e32
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.18'
node-version: '20.9'
- name: 'Login to ECR repo'
run:
RES=$(aws sts assume-role --role-arn $CI_RELEASE_ROLE --role-session-name github-actions-ecr-login)
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.18-alpine as builder
FROM node:20.9.0-alpine3.18 as builder

ENV HOME=/home/app
ENV APP_PATH=$HOME/listing-frontend
Expand All @@ -22,7 +22,7 @@ COPY public $APP_PATH/public
RUN yarn run build

# Run stage
FROM node:18.18-alpine
FROM node:20.9.0-alpine3.18

ENV HOME=/home/app
ENV APP_PATH=$HOME/listing-frontend
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
]
},
"engines": {
"node": ">=18.18.0",
"npm": ">=6.14.11"
"node": ">=20.9.0",
"npm": ">=9.0.0"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
Expand Down

0 comments on commit e9b2e32

Please sign in to comment.