File tree 7 files changed +19
-19
lines changed
7 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 16
16
17
17
- uses : actions/setup-node@v3
18
18
with :
19
- node-version : " 16 "
19
+ node-version : " 18 "
20
20
21
21
- run : |
22
22
npm clean-install
Original file line number Diff line number Diff line change 15
15
16
16
- uses : actions/setup-node@v3
17
17
with :
18
- node-version : " 16 "
18
+ node-version : " 18 "
19
19
20
20
- run : |
21
21
npm clean-install
Original file line number Diff line number Diff line change 5
5
6
6
jobs :
7
7
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
10
10
steps :
11
11
- uses : actions/checkout@v3
12
12
with :
15
15
16
16
- uses : actions/setup-node@v3
17
17
with :
18
- node-version : ' 16 '
18
+ node-version : ' 18 '
19
19
20
20
- run : npm i
21
21
- run : npm run binary:build
Original file line number Diff line number Diff line change 18
18
19
19
- uses : actions/setup-node@v3
20
20
with :
21
- node-version : ' 16 '
21
+ node-version : ' 18 '
22
22
23
23
- run : |
24
24
npm clean-install
43
43
44
44
- uses : actions/setup-node@v3
45
45
with :
46
- node-version : ' 16 '
46
+ node-version : ' 18 '
47
47
48
48
- name : Prepare release
49
49
run : |
Original file line number Diff line number Diff line change 1
- FROM node:16-bullseye as build
1
+ FROM node:18 as build
2
2
WORKDIR /usr/src/app
3
3
# Do `npm ci` separately so we can cache `node_modules`
4
4
# https://nodejs.org/en/docs/guides/nodejs-docker-webapp/
@@ -7,7 +7,7 @@ RUN npm clean-install
7
7
COPY . .
8
8
RUN npm run build && npm prune --omit=dev
9
9
10
- FROM node:16-bullseye -slim
10
+ FROM node:18 -slim
11
11
WORKDIR /usr/src/app
12
12
COPY --from=build /usr/src/app/node_modules node_modules
13
13
COPY --from=build /usr/src/app/dist dist
Original file line number Diff line number Diff line change 33
33
"test:update" : " run-s db:clean db:run && node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --updateSnapshot && run-s db:clean"
34
34
},
35
35
"engines" : {
36
- "node" : " >=16 " ,
36
+ "node" : " >=18 " ,
37
37
"npm" : " >=8"
38
38
},
39
39
"jest" : {
75
75
"devDependencies" : {
76
76
"@types/crypto-js" : " ^4.1.1" ,
77
77
"@types/jest" : " ^29.2.4" ,
78
- "@types/node" : " ^16. 18.3 " ,
78
+ "@types/node" : " ^18.17.17 " ,
79
79
"@types/pg" : " ^8.6.5" ,
80
80
"@types/pg-format" : " ^1.0.1" ,
81
81
"@types/prettier" : " ^2.7.3" ,
You can’t perform that action at this time.
0 commit comments