Skip to content

Commit 2b8061c

Browse files
committed
Update to node 20
1 parent df6d543 commit 2b8061c

File tree

6 files changed

+43
-52
lines changed

6 files changed

+43
-52
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Use Node.js
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 18.x
19+
node-version: 20.x
2020
- run: npm install
2121
- run: npm run build
2222
- run: npm test

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
20

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM node:18 as buildenv
1+
FROM node:20 as buildenv
22

33
WORKDIR /app
44
COPY . .
55
RUN npm install && npm run build
66

7-
FROM node:18
7+
FROM node:20
88

99
RUN mkdir -p /usr/src/app
1010
WORKDIR /usr/src/app

app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
13-
runtime: nodejs18
13+
runtime: nodejs20
1414

1515
instance_class: F1
1616

package-lock.json

Lines changed: 34 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@
2424
"@types/gravatar": "^1.8.3",
2525
"@types/luxon": "^3.2.0",
2626
"@types/mocha": "^10.0.1",
27-
"@types/node": "^18.15.3",
27+
"@types/node": "^20.8.9",
2828
"@types/turndown": "^5.0.1",
2929
"@typescript-eslint/eslint-plugin": "^5.55.0",
3030
"@typescript-eslint/parser": "^5.55.0",
3131
"chai": "^4.3.7",
3232
"chai-http": "^4.3.0",
3333
"eslint": "^8.36.0",
3434
"mocha": "^10.2.0",
35-
"nodemon": "^2.0.21",
35+
"nodemon": "^3.0.1",
3636
"rimraf": "^4.4.0",
3737
"ts-node": "^10.9.1",
3838
"typescript": "^5.0.2"
@@ -50,8 +50,8 @@
5050
"winston": "^3.8.2"
5151
},
5252
"engines": {
53-
"node": ">=18",
54-
"npm": ">=9"
53+
"node": ">=20",
54+
"npm": ">=10"
5555
},
5656
"repository": {
5757
"url": "https://github.com/Commit451/skyhook"

0 commit comments

Comments
 (0)