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 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