diff --git a/.github/workflows/do-spaces-workflow.yml b/.github/workflows/do-spaces-workflow.yml index e74a8e5..2c0ce03 100644 --- a/.github/workflows/do-spaces-workflow.yml +++ b/.github/workflows/do-spaces-workflow.yml @@ -19,16 +19,6 @@ jobs: node-version-file: .nvmrc 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 run: npm ci diff --git a/.github/workflows/gh-pages-workflow.yml b/.github/workflows/gh-pages-workflow.yml index 1e66653..c9ee6a5 100644 --- a/.github/workflows/gh-pages-workflow.yml +++ b/.github/workflows/gh-pages-workflow.yml @@ -26,16 +26,6 @@ jobs: node-version-file: .nvmrc 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 run: npm ci diff --git a/.github/workflows/test-workflow.yml b/.github/workflows/test-workflow.yml index e64c8c2..818c015 100644 --- a/.github/workflows/test-workflow.yml +++ b/.github/workflows/test-workflow.yml @@ -16,16 +16,6 @@ jobs: node-version-file: .nvmrc 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 run: npm ci @@ -45,16 +35,6 @@ jobs: node-version-file: .nvmrc 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 run: npm ci @@ -74,16 +54,6 @@ jobs: node-version-file: .nvmrc 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 run: npm ci diff --git a/.nvmrc b/.nvmrc index 0c19c7b..7950a44 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16.18.1 +v18.17.0 diff --git a/package.json b/package.json index 2a5825d..674b440 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,6 @@ "description": "NGINX config generator on steroids", "private": true, "license": "MIT", - "engines": { - "node": "^16.17.1", - "npm": "^8.15.0" - }, "main": "src/nginxconfig/mount.js", "type": "module", "scripts": {