MOBILE-3833 DX: Update node version

main
Noel De Martin 2021-08-31 17:43:19 +02:00
parent 8a2309522c
commit 31b6a8d692
5 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

2
.nvmrc
View File

@ -1 +1 @@
12
v14.15.0

View File

@ -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

View File

@ -173,7 +173,7 @@
"typescript": "^3.9.9"
},
"engines": {
"node": ">=12.x"
"node": ">=14.15.0 <15"
},
"cordova": {
"platforms": [