Update Node.js to v18
This commit is contained in:
parent
cbba1ede12
commit
77de830cd5
2 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ stages:
|
|||
- deploy
|
||||
|
||||
static:
|
||||
image: node:16-slim
|
||||
image: node:18-slim
|
||||
stage: build
|
||||
cache:
|
||||
key: npm-$CI_COMMIT_REF_SLUG
|
||||
|
@ -117,7 +117,7 @@ djhtml:
|
|||
- git ls-files '*.html' | xargs djhtml --check --tabwidth 2
|
||||
|
||||
npm_lint:
|
||||
image: node:16-slim
|
||||
image: node:18-slim
|
||||
stage: test
|
||||
dependencies:
|
||||
- static
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:16-slim as frontend
|
||||
FROM node:18-slim as frontend
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci --no-audit - -progress=false --omit=dev
|
||||
|
|
Loading…
Reference in a new issue