File tree Expand file tree Collapse file tree 7 files changed +19
-19
lines changed Expand file tree Collapse file tree 7 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 1616
1717 - uses : actions/setup-node@v3
1818 with :
19- node-version : " 16 "
19+ node-version : " 18 "
2020
2121 - run : |
2222 npm clean-install
Original file line number Diff line number Diff line change 1515
1616 - uses : actions/setup-node@v3
1717 with :
18- node-version : " 16 "
18+ node-version : " 18 "
1919
2020 - run : |
2121 npm clean-install
Original file line number Diff line number Diff line change 55
66jobs :
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 :
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
Original file line number Diff line number Diff line change 1818
1919 - uses : actions/setup-node@v3
2020 with :
21- node-version : ' 16 '
21+ node-version : ' 18 '
2222
2323 - run : |
2424 npm clean-install
4343
4444 - uses : actions/setup-node@v3
4545 with :
46- node-version : ' 16 '
46+ node-version : ' 18 '
4747
4848 - name : Prepare release
4949 run : |
Original file line number Diff line number Diff line change 1- FROM node:16-bullseye as build
1+ FROM node:18 as build
22WORKDIR /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
77COPY . .
88RUN npm run build && npm prune --omit=dev
99
10- FROM node:16-bullseye -slim
10+ FROM node:18 -slim
1111WORKDIR /usr/src/app
1212COPY --from=build /usr/src/app/node_modules node_modules
1313COPY --from=build /usr/src/app/dist dist
Original file line number Diff line number Diff line change 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" : {
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" ,
You can’t perform that action at this time.
0 commit comments