MOBILE-3833 DX: Update node version
parent
8a2309522c
commit
31b6a8d692
|
@ -12,7 +12,7 @@ jobs:
|
|||
- name: Use Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '12.x'
|
||||
node-version: '14.x'
|
||||
- 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: npm install -D @ionic/v4-migration-tslint
|
||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
- name: Use Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '12'
|
||||
node-version: '14'
|
||||
- name: Install npm packages
|
||||
run: |
|
||||
npm install -g npm@7
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
os: linux
|
||||
dist: trusty
|
||||
node_js: 12
|
||||
node_js: 14
|
||||
|
||||
git:
|
||||
depth: 3
|
||||
|
@ -18,7 +18,7 @@ cache:
|
|||
- $HOME/.android/build-cache
|
||||
|
||||
before_install:
|
||||
- nvm install 12
|
||||
- nvm use
|
||||
- node --version
|
||||
- npm --version
|
||||
- nvm --version
|
||||
|
|
|
@ -173,7 +173,7 @@
|
|||
"typescript": "^3.9.9"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.x"
|
||||
"node": ">=14.15.0 <15"
|
||||
},
|
||||
"cordova": {
|
||||
"platforms": [
|
||||
|
|
Loading…
Reference in New Issue