Skip to content

Commit 9d93857

Browse files
committed
chore update to node 22
1 parent 64828dd commit 9d93857

13 files changed

Lines changed: 3599 additions & 8914 deletions

File tree

.github/workflows/lint-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
- name: Use Node.js ${{ matrix.node-version }}
1111
uses: actions/setup-node@v3
1212
with:
13-
node-version: '18.x'
13+
node-version: '22.x'
1414
- run: npm install
1515
- run: npm run lint
1616
- run: npm run test:all:coverage
1717
- run: npm run e2e:uws
1818
- name: Coveralls
19-
if: startsWith(matrix.node-version, '18.')
19+
if: startsWith(matrix.node-version, '22.')
2020
uses: coverallsapp/github-action@master
2121
with:
2222
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
# Setup .npmrc file to publish to npm
2828
- uses: actions/setup-node@v3
2929
with:
30-
node-version: '18.x'
30+
node-version: '22.x'
3131
registry-url: 'https://registry.npmjs.org'
3232
- run: npm install
3333
- run: npm run lint
@@ -49,7 +49,7 @@ jobs:
4949
DEFAULT_DELAY: 50
5050
uses: actions/setup-node@v3
5151
with:
52-
node-version: '18.x'
52+
node-version: '22.x'
5353
- run: npm install
5454
- run: npm run lint
5555
- run: npm run test
@@ -73,7 +73,7 @@ jobs:
7373
DEFAULT_DELAY: 50
7474
uses: actions/setup-node@v3
7575
with:
76-
node-version: '18.x'
76+
node-version: '22.x'
7777
- run: npm install
7878
- run: npm run lint
7979
- run: npm run test
@@ -97,7 +97,7 @@ jobs:
9797
DEFAULT_DELAY: 50
9898
uses: actions/setup-node@v3
9999
with:
100-
node-version: '18.x'
100+
node-version: '22.x'
101101
- run: npm install
102102
- run: npm run lint
103103
- run: npm run test

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18 as builder
1+
FROM node:22 as builder
22
WORKDIR /app
33

44
COPY package*.json ./
@@ -20,7 +20,7 @@ COPY . .
2020

2121
RUN npm run tsc
2222

23-
FROM node:18
23+
FROM node:22
2424
WORKDIR /usr/local/deepstream
2525
COPY --from=builder /app/node_modules/ ./node_modules
2626
COPY --from=builder /app/dist/ .

Dockerfile.alpine

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18-alpine as builder
1+
FROM node:22-alpine as builder
22
WORKDIR /app
33
# RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
44
# RUN unzip awscliv2.zip
@@ -25,7 +25,7 @@ COPY . .
2525

2626
RUN npm run tsc
2727

28-
FROM node:18-alpine
28+
FROM node:22-alpine
2929
WORKDIR /usr/local/deepstream
3030
COPY --from=builder /app/node_modules/ ./node_modules
3131
COPY --from=builder /app/dist/ .

0 commit comments

Comments
 (0)