mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-09-11 21:27:18 +08:00
Update to Node.js 18 (#442)
This commit is contained in:
10
.github/workflows/do-spaces-workflow.yml
vendored
10
.github/workflows/do-spaces-workflow.yml
vendored
@@ -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
|
||||||
|
|
||||||
|
10
.github/workflows/gh-pages-workflow.yml
vendored
10
.github/workflows/gh-pages-workflow.yml
vendored
@@ -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
|
||||||
|
|
||||||
|
30
.github/workflows/test-workflow.yml
vendored
30
.github/workflows/test-workflow.yml
vendored
@@ -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": {
|
||||||
|
Reference in New Issue
Block a user