Update to Node.js 18 (#442)
This commit is contained in:
parent
15deb4e467
commit
4bf8e65ed4
|
@ -19,16 +19,6 @@ jobs:
|
||||||
node-version-file: .nvmrc
|
node-version-file: .nvmrc
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|
||||||
- name: Setup NPM
|
|
||||||
run: |
|
|
||||||
NPM_VERSION=$(jq -r .engines.npm package.json)
|
|
||||||
NPM_VERSION=${NPM_VERSION/\^/}
|
|
||||||
if [ "$(npm --version)" != "$NPM_VERSION" ]; then
|
|
||||||
npm install -g npm@$NPM_VERSION && npm --version
|
|
||||||
else
|
|
||||||
echo "NPM version is same as package.json engines.npm"
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
|
|
|
@ -26,16 +26,6 @@ jobs:
|
||||||
node-version-file: .nvmrc
|
node-version-file: .nvmrc
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|
||||||
- name: Setup NPM
|
|
||||||
run: |
|
|
||||||
NPM_VERSION=$(jq -r .engines.npm package.json)
|
|
||||||
NPM_VERSION=${NPM_VERSION/\^/}
|
|
||||||
if [ "$(npm --version)" != "$NPM_VERSION" ]; then
|
|
||||||
npm install -g npm@$NPM_VERSION && npm --version
|
|
||||||
else
|
|
||||||
echo "NPM version is same as package.json engines.npm"
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
|
|
|
@ -16,16 +16,6 @@ jobs:
|
||||||
node-version-file: .nvmrc
|
node-version-file: .nvmrc
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|
||||||
- name: Setup NPM
|
|
||||||
run: |
|
|
||||||
NPM_VERSION=$(jq -r .engines.npm package.json)
|
|
||||||
NPM_VERSION=${NPM_VERSION/\^/}
|
|
||||||
if [ "$(npm --version)" != "$NPM_VERSION" ]; then
|
|
||||||
npm install -g npm@$NPM_VERSION && npm --version
|
|
||||||
else
|
|
||||||
echo "NPM version is same as package.json engines.npm"
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
|
@ -45,16 +35,6 @@ jobs:
|
||||||
node-version-file: .nvmrc
|
node-version-file: .nvmrc
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|
||||||
- name: Setup NPM
|
|
||||||
run: |
|
|
||||||
NPM_VERSION=$(jq -r .engines.npm package.json)
|
|
||||||
NPM_VERSION=${NPM_VERSION/\^/}
|
|
||||||
if [ "$(npm --version)" != "$NPM_VERSION" ]; then
|
|
||||||
npm install -g npm@$NPM_VERSION && npm --version
|
|
||||||
else
|
|
||||||
echo "NPM version is same as package.json engines.npm"
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
|
@ -74,16 +54,6 @@ jobs:
|
||||||
node-version-file: .nvmrc
|
node-version-file: .nvmrc
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|
||||||
- name: Setup NPM
|
|
||||||
run: |
|
|
||||||
NPM_VERSION=$(jq -r .engines.npm package.json)
|
|
||||||
NPM_VERSION=${NPM_VERSION/\^/}
|
|
||||||
if [ "$(npm --version)" != "$NPM_VERSION" ]; then
|
|
||||||
npm install -g npm@$NPM_VERSION && npm --version
|
|
||||||
else
|
|
||||||
echo "NPM version is same as package.json engines.npm"
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
|
|
|
@ -4,10 +4,6 @@
|
||||||
"description": "NGINX config generator on steroids",
|
"description": "NGINX config generator on steroids",
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
|
||||||
"node": "^16.17.1",
|
|
||||||
"npm": "^8.15.0"
|
|
||||||
},
|
|
||||||
"main": "src/nginxconfig/mount.js",
|
"main": "src/nginxconfig/mount.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in New Issue