Skip to content

Commit

Permalink
build: upgade node to 14 (#997)
Browse files Browse the repository at this point in the history
  • Loading branch information
markov00 authored Jan 29, 2021
1 parent eb37175 commit f7d65e5
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 11 deletions.
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

0 comments on commit f7d65e5

Please sign in to comment.