diff --git a/.ci/global_setup.sh b/.ci/global_setup.sh index 62ce595982..d076416e3e 100755 --- a/.ci/global_setup.sh +++ b/.ci/global_setup.sh @@ -71,8 +71,7 @@ export PATH="$nodeBin:$PATH" ### ### downloading yarn ### -yarnVersion="$(node -e "console.log(String(require('./package.json').engines.yarn || '').replace(/^[^\d]+/,''))")" -npm install -g yarn@^${yarnVersion} +npm install -g yarn ### ### setup yarn offline cache diff --git a/.github/workflows/api_extractor_check.yaml b/.github/workflows/api_extractor_check.yaml index 34052280ad..a4f636fd1d 100644 --- a/.github/workflows/api_extractor_check.yaml +++ b/.github/workflows/api_extractor_check.yaml @@ -11,7 +11,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: '10.x' + node-version: '14.x' - name: Install dependencies run: yarn --frozen-lockfile - name: Run API-Extractor diff --git a/.github/workflows/auto_release.yaml b/.github/workflows/auto_release.yaml index 51837ca057..dde7f51284 100644 --- a/.github/workflows/auto_release.yaml +++ b/.github/workflows/auto_release.yaml @@ -14,7 +14,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: '10.x' + node-version: '14.x' - uses: bahmutov/npm-install@HEAD - name: Build check run: yarn build diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 216742594c..729b7ff33d 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -11,7 +11,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: '10.x' + node-version: '14.x' - uses: bahmutov/npm-install@HEAD - name: Build check run: yarn build diff --git a/.github/workflows/unit_test.yaml b/.github/workflows/unit_test.yaml index c5eec11496..8632c8818d 100644 --- a/.github/workflows/unit_test.yaml +++ b/.github/workflows/unit_test.yaml @@ -11,7 +11,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: '10.x' + node-version: '14.x' - uses: bahmutov/npm-install@HEAD - name: TimeZone testing run: yarn test:tz --ci diff --git a/.nvmrc b/.nvmrc index 2baa2d433a..c91434ab58 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -10.23.1 +14.15.4 diff --git a/package.json b/package.json index 95c2eae3a0..100d714fe2 100644 --- a/package.json +++ b/package.json @@ -218,10 +218,6 @@ "conventional-changelog-conventionalcommits": "^4.3.0", "refractor": "~3.1.0" }, - "engines": { - "node": ">=10.23", - "yarn": "^1.10.1" - }, "browserslist": [ "last 2 versions", "ie 11"