Skip to content
Snippets Groups Projects
Commit 4915d8a3 authored by Rishi Panthee's avatar Rishi Panthee Committed by Dan Notestein
Browse files

Runs on Node.JS 18

parent 8950a2f7
No related branches found
No related tags found
1 merge request!8Runs on Node.JS 18
......@@ -9,7 +9,7 @@ jobs:
- run: docker build .
test:
docker:
- image: node:10-alpine
- image: node:18-alpine
steps:
- run:
>
......@@ -24,13 +24,13 @@ jobs:
- checkout
- restore_cache:
keys:
- node10-dependencies-{{ checksum "yarn.lock" }}
- node10-dependencies-
- node18-dependencies-{{ checksum "yarn.lock" }}
- node18-dependencies-
- run: yarn install --frozen-lockfile
- save_cache:
paths:
- node_modules
key: node10-dependencies-{{ checksum "yarn.lock" }}
key: node18-dependencies-{{ checksum "yarn.lock" }}
- run: yarn test
- store_test_results:
path: reports
......
FROM node:10-alpine as build-stage
FROM node:18-alpine as build-stage
WORKDIR /app
......@@ -31,7 +31,7 @@ RUN make lib ci-test
RUN yarn install --non-interactive --frozen-lockfile --production
# copy built application to runtime image
FROM node:10-alpine
FROM node:18-alpine
WORKDIR /app
RUN apk add \
--no-cache \
......
......@@ -26,7 +26,7 @@
"ratelimiter": "^3.0.3",
"redis": "^2.8.0",
"s3-blob-store": "^3.2.0",
"sharp": "^0.21.0",
"sharp": "^0.32.1",
"stream-head": "^1.1.0",
"toml": "^2.3.3"
},
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment