From 5e036b124277f288795ab21ec2d99393b1e37c7b Mon Sep 17 00:00:00 2001 From: brtrvn Date: Wed, 13 Dec 2023 16:47:15 -0800 Subject: [PATCH 1/2] Update to Node 16 for the admin web ui --- client/web/package.json | 2 +- resources/saas-boost-web.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/web/package.json b/client/web/package.json index 4811b28a..4fba0fda 100644 --- a/client/web/package.json +++ b/client/web/package.json @@ -87,7 +87,7 @@ }, "devDependencies": { "husky": ">=4", - "lint-staged": ">=10", + "lint-staged": "^14.0.0", "prettier": "2.0.2" }, "husky": { diff --git a/resources/saas-boost-web.yaml b/resources/saas-boost-web.yaml index fab8dbe5..105d715e 100644 --- a/resources/saas-boost-web.yaml +++ b/resources/saas-boost-web.yaml @@ -141,7 +141,7 @@ Resources: phases: pre_build: commands: - - n 14 + - n 16 - if [ "$REACT_APP_AWS_REGION" = "cn-northwest-1" ] || [ "$REACT_APP_AWS_REGION" = "cn-north-1" ]; then npm config set registry https://registry.npm.taobao.org; fi - aws s3 cp s3://$SOURCE_BUCKET/client/web/src.zip src.zip - unzip src.zip From 8011758f692da42a5da2968237f0a0730df94d7a Mon Sep 17 00:00:00 2001 From: brtrvn Date: Wed, 13 Dec 2023 16:54:01 -0800 Subject: [PATCH 2/2] Update GitHub Actions to also use Node 16 --- .github/workflows/pr-validation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index bdb46c20..ff305179 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -42,7 +42,7 @@ jobs: - uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 16 - name: Cache node modules uses: actions/cache@v2