-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Updated Node version to the latest LTS (20.9.0 -> 22.11.0) - Updated Express to the new major version (4.21.0 -> 5.0.1). The only change that was required was a change of a route notation (app.get('*', ...) had to change to app.get('*splat', ...)) - A bump of the version of mock service worker required an update to the jsdom environment (apparently, msw now tries to access the BroadcastChannel global)
- Loading branch information
Showing
7 changed files
with
2,990 additions
and
4,083 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,10 +28,9 @@ variables: | |
# Template to build static assets | ||
.build-static: | ||
stage: test_build_static | ||
image: node:20.9.0 | ||
image: node:22.11.0 | ||
|
||
before_script: | ||
- npm install --global [email protected] | ||
- npm ci --loglevel warn | ||
|
||
script: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:20.9.0 AS builder | ||
FROM node:22.11.0 AS builder | ||
|
||
ARG SOURCE_DIR="./" | ||
|
||
|
@@ -8,14 +8,13 @@ COPY ${SOURCE_DIR} /srv/ensembl-client/ | |
|
||
WORKDIR /srv/ensembl-client/ | ||
|
||
RUN npm install --global [email protected] && \ | ||
npm ci --loglevel warn && \ | ||
RUN npm ci --loglevel warn && \ | ||
npm run test && \ | ||
npm run build | ||
|
||
|
||
# PRODUCTION IMAGE | ||
FROM node:20.9.0-alpine AS runner | ||
FROM node:22.11.0-alpine AS runner | ||
|
||
WORKDIR /srv/ensembl-client/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# PRODUCTION IMAGE | ||
FROM node:20.9.0-alpine | ||
FROM node:22.11.0-alpine | ||
|
||
RUN apk add --no-cache git | ||
|
||
|
Oops, something went wrong.