Skip to content

Commit

Permalink
Update to Node.js 18 (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
MattIPv4 authored Jul 28, 2023
1 parent 15deb4e commit 4bf8e65
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 55 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/do-spaces-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/gh-pages-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

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

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

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.18.1
v18.17.0
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

1 comment on commit 4bf8e65

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been deployed to DigitalOcean Spaces for easy reviewing.

nginxconfig (Build Analysis Report)

Please sign in to comment.