diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 919c77daec..f23cdceb10 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [12] + node: [14] steps: - name: Get Date diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df35324c0f..f98ef2a5b8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: - name: Setup NodeJS uses: actions/setup-node@v2 with: - node-version: '10.13.0' + node-version: '14.19.1' - name: Setup Go uses: actions/setup-go@v2 @@ -54,7 +54,7 @@ jobs: npm --prefix ${{ env.UI_BUILD_REACT }} run lint npm --prefix ${{ env.UI_BUILD_REACT }} run test:coverage npm --prefix ${{ env.UI_BUILD_REACT }} run build - + - name: Create release directory run: mkdir -v ${{ github.workspace }}/${{ env.RELEASE_DIR }} diff --git a/Dockerfile-full b/Dockerfile-full index 587d09439c..03f5c0989b 100644 --- a/Dockerfile-full +++ b/Dockerfile-full @@ -7,7 +7,7 @@ WORKDIR /usr/src ARG version RUN make generate-build-info v=$version -FROM node:12-alpine as build-frontend +FROM node:14-alpine as build-frontend RUN mkdir -p /usr/src/app WORKDIR /usr/src/app COPY ./app/ /usr/src/app/ diff --git a/JenkinsfileRelease b/JenkinsfileRelease index f2bac1a089..39a573343d 100644 --- a/JenkinsfileRelease +++ b/JenkinsfileRelease @@ -14,7 +14,7 @@ node { stage('Build') { withEnv(["NODE_OPTIONS=--max_old_space_size=3072"]) { - docker.image('node:11').inside('-u root') { + docker.image('node:14').inside('-u root') { sh 'node -v' sh 'npm config set unsafe-perm=true' sh 'make build-statics' diff --git a/readme.md b/readme.md index b031c16549..d40b028aa6 100644 --- a/readme.md +++ b/readme.md @@ -7,7 +7,7 @@ [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/reportportal/service-ui?sort=semver)](https://github.com/reportportal/service-ui/releases/latest) [![Docker Pulls](https://img.shields.io/docker/pulls/reportportal/service-ui.svg?maxAge=159200)](https://hub.docker.com/r/reportportal/service-ui/) -1. Install nodejs (minimum required version 10) +1. Install nodejs (minimum required version 12, recommended - 14) 2. Open console from the project root