From 4928e85ee638bc40f1d3115d3acdf424338c6294 Mon Sep 17 00:00:00 2001 From: Phong Nguyen Date: Fri, 21 Jun 2024 11:40:00 +0700 Subject: [PATCH] (#236) Migrate create-react-app to Vite --- .github/workflows/build-ui-reactjs.yml | 2 +- src/UIs/bff/reactjs/azure-pipelines.yml | 4 ++-- src/UIs/reactjs/azure-pipelines.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) 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