Set a LTS node version to 16
This commit is contained in:
@@ -21,14 +21,15 @@ jobs:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Use Node.js 14
|
||||
- name: Use Node.js 16
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
# no support for lts as of now with github actions.
|
||||
# issue link : https://github.com/actions/setup-node/issues/26
|
||||
node-version: '14'
|
||||
# lts/gallium node v16.15.1 (npm v8.11.0)
|
||||
node-version: '16.15.1'
|
||||
- name: Angular CLI install
|
||||
run : npm install -g --silent @angular/cli@9.1.12
|
||||
run : npm install -g --silent @angular/cli@11.2.14
|
||||
|
||||
- name: Npm install
|
||||
run: npm install
|
||||
|
||||
+2
-2
@@ -96,7 +96,7 @@
|
||||
"url": "https://github.com/openMF/web-app/issues"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 8.9.0",
|
||||
"npm": ">= 5.5.1"
|
||||
"node": ">= 16.15.1",
|
||||
"npm": ">= 9.11.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user