Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: upgade node to 14 #997

Merged
merged 3 commits into from
Jan 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .ci/global_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/api_extractor_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10.23.1
14.15.4
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down