Skip to content

Commit 6f70726

Browse files
committed
feat: bump node to 18
1 parent 3514106 commit 6f70726

File tree

7 files changed

+19
-19
lines changed

7 files changed

+19
-19
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- uses: actions/setup-node@v3
1818
with:
19-
node-version: "16"
19+
node-version: "18"
2020

2121
- run: |
2222
npm clean-install

.github/workflows/docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
- uses: actions/setup-node@v3
1717
with:
18-
node-version: "16"
18+
node-version: "18"
1919

2020
- run: |
2121
npm clean-install

.github/workflows/publish-deps.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on:
55

66
jobs:
77
publish:
8-
# Must match glibc verison in node:16-bullseye
9-
runs-on: ubuntu-20.04
8+
# Must match glibc verison in node:18
9+
runs-on: ubuntu-22.04
1010
steps:
1111
- uses: actions/checkout@v3
1212
with:
@@ -15,7 +15,7 @@ jobs:
1515

1616
- uses: actions/setup-node@v3
1717
with:
18-
node-version: '16'
18+
node-version: '18'
1919

2020
- run: npm i
2121
- run: npm run binary:build

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- uses: actions/setup-node@v3
2020
with:
21-
node-version: '16'
21+
node-version: '18'
2222

2323
- run: |
2424
npm clean-install
@@ -43,7 +43,7 @@ jobs:
4343

4444
- uses: actions/setup-node@v3
4545
with:
46-
node-version: '16'
46+
node-version: '18'
4747

4848
- name: Prepare release
4949
run: |

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16-bullseye as build
1+
FROM node:18 as build
22
WORKDIR /usr/src/app
33
# Do `npm ci` separately so we can cache `node_modules`
44
# https://nodejs.org/en/docs/guides/nodejs-docker-webapp/
@@ -7,7 +7,7 @@ RUN npm clean-install
77
COPY . .
88
RUN npm run build && npm prune --omit=dev
99

10-
FROM node:16-bullseye-slim
10+
FROM node:18-slim
1111
WORKDIR /usr/src/app
1212
COPY --from=build /usr/src/app/node_modules node_modules
1313
COPY --from=build /usr/src/app/dist dist

package-lock.json

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"test:update": "run-s db:clean db:run && node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --updateSnapshot && run-s db:clean"
3434
},
3535
"engines": {
36-
"node": ">=16",
36+
"node": ">=18",
3737
"npm": ">=8"
3838
},
3939
"jest": {
@@ -75,7 +75,7 @@
7575
"devDependencies": {
7676
"@types/crypto-js": "^4.1.1",
7777
"@types/jest": "^29.2.4",
78-
"@types/node": "^16.18.3",
78+
"@types/node": "^18.17.17",
7979
"@types/pg": "^8.6.5",
8080
"@types/pg-format": "^1.0.1",
8181
"@types/prettier": "^2.7.3",

0 commit comments

Comments
 (0)