Skip to content

Commit

Permalink
fix: 배포 노드 버전을 18 LTS로 다운그레이드 (#548)
Browse files Browse the repository at this point in the history
요구 노드 버전이 20으로 상승한 #527 (2023-07-01) 이후로 노드 버전을 업데이트한 경우 (20.3.0 릴리즈: 2023-06-26)에는
(#547)을 일으킨 버그가 수정되었으므로 추가 다운그레이드가 필요하지 않습니다.
  • Loading branch information
scarf005 authored Jul 8, 2023
1 parent 243e7bc commit 1dbd9b8
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 55 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: setup node.js
uses: actions/setup-node@master
with:
node-version: 20.x
node-version: 18.x

- name: setup pnpm
uses: pnpm/action-setup@v2
Expand Down
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine
FROM node:18-alpine
# https://github.com/pnpm/pnpm/issues/4495#issuecomment-1317831712
ENV PNPM_HOME="/root/.local/share/pnpm"
ENV PATH="${PATH}:${PNPM_HOME}"
Expand Down
4 changes: 2 additions & 2 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "jolim, chanykim, tkim, jimin, wocho, seongyle, seunam",
"license": "MIT",
"engines": {
"node": ">=20.0.0"
"node": ">=20.3.1 || >=18.16.1 <20.0.0"
},
"scripts": {
"start": "node dist/server.js",
Expand All @@ -26,7 +26,7 @@
"@types/jest": "^29.5.2",
"@types/jsonwebtoken": "^9.0.2",
"@types/morgan": "^1.9.4",
"@types/node": "^20.3.1",
"@types/node": "^18.16.1",
"@types/node-schedule": "^2.1.0",
"@types/passport": "^1.0.12",
"@types/passport-jwt": "^3.0.8",
Expand Down
Loading

0 comments on commit 1dbd9b8

Please sign in to comment.