MOBILE-3833 DX: Update node version
parent
8a2309522c
commit
31b6a8d692
|
@ -12,7 +12,7 @@ jobs:
|
||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '12.x'
|
node-version: '14.x'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: result=$(find src -type f -iname '*.html' -exec sh -c 'cat {} | tr "\n" " " | grep -Eo "class=\"[^\"]+\"[^>]+class=\"" ' \; | wc -l); test $result -eq 0
|
- run: result=$(find src -type f -iname '*.html' -exec sh -c 'cat {} | tr "\n" " " | grep -Eo "class=\"[^\"]+\"[^>]+class=\"" ' \; | wc -l); test $result -eq 0
|
||||||
- run: npm install -D @ionic/v4-migration-tslint
|
- run: npm install -D @ionic/v4-migration-tslint
|
||||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '12'
|
node-version: '14'
|
||||||
- name: Install npm packages
|
- name: Install npm packages
|
||||||
run: |
|
run: |
|
||||||
npm install -g npm@7
|
npm install -g npm@7
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
os: linux
|
os: linux
|
||||||
dist: trusty
|
dist: trusty
|
||||||
node_js: 12
|
node_js: 14
|
||||||
|
|
||||||
git:
|
git:
|
||||||
depth: 3
|
depth: 3
|
||||||
|
@ -18,7 +18,7 @@ cache:
|
||||||
- $HOME/.android/build-cache
|
- $HOME/.android/build-cache
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- nvm install 12
|
- nvm use
|
||||||
- node --version
|
- node --version
|
||||||
- npm --version
|
- npm --version
|
||||||
- nvm --version
|
- nvm --version
|
||||||
|
|
|
@ -173,7 +173,7 @@
|
||||||
"typescript": "^3.9.9"
|
"typescript": "^3.9.9"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12.x"
|
"node": ">=14.15.0 <15"
|
||||||
},
|
},
|
||||||
"cordova": {
|
"cordova": {
|
||||||
"platforms": [
|
"platforms": [
|
||||||
|
|
Loading…
Reference in New Issue