Skip to content

Commit

Permalink
build: upgade node to 14 (opensearch-project#997)
Browse files Browse the repository at this point in the history
  • Loading branch information
markov00 authored Jan 29, 2021
1 parent 98089a9 commit 658ffb3
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 11 deletions.
3 changes: 1 addition & 2 deletions packages/osd-charts/.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
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 packages/osd-charts/.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 packages/osd-charts/.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 packages/osd-charts/.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 packages/osd-charts/.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 packages/osd-charts/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 658ffb3

Please sign in to comment.