Merge branch 'renovate/node-18.x' into 'master'

Update Node.js to v18

See merge request repos/website!9
This commit is contained in:
Jake Howard 2022-09-13 19:23:14 +01:00
commit 692421a6c3
2 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@ stages:
- deploy - deploy
static: static:
image: node:16-slim image: node:18-slim
stage: build stage: build
cache: cache:
key: npm-$CI_COMMIT_REF_SLUG key: npm-$CI_COMMIT_REF_SLUG
@ -122,7 +122,7 @@ djhtml:
- git ls-files '*.html' | xargs djhtml --check --tabwidth 2 - git ls-files '*.html' | xargs djhtml --check --tabwidth 2
npm_lint: npm_lint:
image: node:16-slim image: node:18-slim
stage: test stage: test
dependencies: dependencies:
- static - static

View file

@ -1,4 +1,4 @@
FROM node:16-slim as frontend FROM node:18-slim as frontend
COPY package.json package-lock.json ./ COPY package.json package-lock.json ./
RUN npm ci --no-audit - -progress=false --omit=dev RUN npm ci --no-audit - -progress=false --omit=dev