Skip to content

Commit

Permalink
EPMRPP-77564 || Update node.js version
Browse files Browse the repository at this point in the history
  • Loading branch information
AmsterGet committed Jun 24, 2022
1 parent 913c3c7 commit 355d7d9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12]
node: [14]

steps:
- name: Get Date
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-full
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 1 addition & 1 deletion JenkinsfileRelease
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 355d7d9

Please sign in to comment.