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
|
- 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
|
||||||
|
@ -117,7 +117,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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue