diff --git a/.github/workflows/build-ui-reactjs.yml b/.github/workflows/build-ui-reactjs.yml index c65fa0cb..85bbdfc1 100644 --- a/.github/workflows/build-ui-reactjs.yml +++ b/.github/workflows/build-ui-reactjs.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: "14" + node-version: "18" - run: npm install working-directory: ./src/UIs/reactjs/ - run: npm audit --audit-level=critical diff --git a/src/UIs/bff/reactjs/azure-pipelines.yml b/src/UIs/bff/reactjs/azure-pipelines.yml index 5b4b5b18..11545b5e 100644 --- a/src/UIs/bff/reactjs/azure-pipelines.yml +++ b/src/UIs/bff/reactjs/azure-pipelines.yml @@ -26,9 +26,9 @@ stages: steps: - checkout: self - task: NodeTool@0 - displayName: Use Node 14.x + displayName: Use Node 18.x inputs: - versionSpec: 14.x + versionSpec: 18.x checkLatest: true - task: Npm@1 displayName: npm install diff --git a/src/UIs/reactjs/azure-pipelines.yml b/src/UIs/reactjs/azure-pipelines.yml index 5b4b5b18..11545b5e 100644 --- a/src/UIs/reactjs/azure-pipelines.yml +++ b/src/UIs/reactjs/azure-pipelines.yml @@ -26,9 +26,9 @@ stages: steps: - checkout: self - task: NodeTool@0 - displayName: Use Node 14.x + displayName: Use Node 18.x inputs: - versionSpec: 14.x + versionSpec: 18.x checkLatest: true - task: Npm@1 displayName: npm install