[CI] Use node version 16 for all CI jobs
This commit is contained in:
parent
7b74e55e7f
commit
fcf55b598e
|
@ -25,7 +25,7 @@ stages:
|
|||
review_front:
|
||||
interruptible: true
|
||||
stage: review
|
||||
image: node:12-buster
|
||||
image: node:16-buster
|
||||
when: manual
|
||||
allow_failure: true
|
||||
variables:
|
||||
|
@ -105,7 +105,7 @@ black:
|
|||
- pip install black==19.10b0
|
||||
script:
|
||||
- black --check --diff api/
|
||||
only:
|
||||
only:
|
||||
changes:
|
||||
- api/**/*
|
||||
|
||||
|
@ -123,13 +123,13 @@ flake8:
|
|||
key: "$CI_PROJECT_ID__flake8_pip_cache"
|
||||
paths:
|
||||
- "$PIP_CACHE_DIR"
|
||||
only:
|
||||
only:
|
||||
changes:
|
||||
- api/**/*
|
||||
|
||||
eslint:
|
||||
interruptible: true
|
||||
image: node:12-buster
|
||||
image: node:16-buster
|
||||
stage: lint
|
||||
allow_failure: true
|
||||
before_script:
|
||||
|
@ -212,7 +212,7 @@ test_front:
|
|||
|
||||
build_front:
|
||||
stage: build
|
||||
image: node:12-buster
|
||||
image: node:16-buster
|
||||
before_script:
|
||||
- curl -L -o /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64
|
||||
- chmod +x /usr/local/bin/jq
|
||||
|
@ -281,7 +281,7 @@ docker_publish_stable_release:
|
|||
script:
|
||||
# Check if this is the latest release
|
||||
- ./docs/get-releases-json.py | scripts/is-docker-latest.py $CI_COMMIT_TAG - && export DOCKER_LATEST_TAG="-t $IMAGE_LATEST" || export DOCKER_LATEST_TAG=;
|
||||
- export major="$(echo $CI_COMMIT_REF_NAME | cut -d '.' -f 1)"
|
||||
- export major="$(echo $CI_COMMIT_REF_NAME | cut -d '.' -f 1)"
|
||||
- export minor="$(echo $CI_COMMIT_REF_NAME | cut -d '.' -f 1,2)"
|
||||
- cd api
|
||||
- docker buildx create --use --name A$CI_COMMIT_SHORT_SHA
|
||||
|
|
Loading…
Reference in New Issue