Skip to content

Commit

Permalink
fix: up to node 20 (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo authored May 11, 2023
1 parent 15d795b commit 18e41bb
Show file tree
Hide file tree
Showing 23 changed files with 32 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: 'yarn'

- name: yarn install
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
include:
- nodeVersion: 16.17 # minimum requirement
- nodeVersion: 18
- nodeVersion: 20

steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
nodeVersion: [16.17, 18]
nodeVersion: [16.17, 18, 20]
testParams:
- cwd: .github/e2e/standalone-charts
testScript: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-jsonschema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: "yarn"

- name: install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
cache: 'yarn'

- name: Yarn install
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests-webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
include:
- nodeVersion: 16.17 # minimum requirement
- nodeVersion: 18
- nodeVersion: 20

steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v20
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
}
},
"engines": {
"node": "^16.17 || ^18"
"node": "^16.17 || ^18 || ^20"
},
"packageManager": "[email protected]"
}
2 changes: 1 addition & 1 deletion packages/argocd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apt-get update && \
&& rm -rf /var/lib/apt/lists/*

# renovate: datasource=node depName=node versioning=node
ARG NODE_VERSION=18
ARG NODE_VERSION=20

ENV NODE_VERSION=$NODE_VERSION
RUN wget -qO- https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - \
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"license": "MIT",
"engines": {
"node": "^16.17 || ^18"
"node": "^16.17 || ^18 || ^20"
},
"dependencies": {
"@npmcli/ci-detect": "^3.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/degit/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM node:18
FROM node:20
RUN npm i -g tiged
USER 1000
2 changes: 1 addition & 1 deletion packages/dev-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"~common": "workspace:^"
},
"engines": {
"node": "^16.17 || ^18"
"node": "^16.17 || ^18 || ^20"
}
}
2 changes: 1 addition & 1 deletion packages/helm-tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"license": "MIT",
"engines": {
"node": "^16.17 || ^18"
"node": "^16.17 || ^18 || ^20"
},
"dependencies": {
"decompress": "^4.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/kontinuous/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ARG UBUNTU_VERSION=22.04

# renovate: datasource=node depName=node versioning=node
ARG NODE_VERSION=18.14.0
ARG NODE_VERSION=20.1.0

FROM ubuntu:$UBUNTU_VERSION as base
RUN apt-get update && \
Expand Down
4 changes: 2 additions & 2 deletions packages/kontinuous/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@babel/preset-env": "^7.18.2",
"@babel/preset-typescript": "^7.17.12",
"@sentry/node": "^7.30.0",
"@types/node": "^18.0.0",
"@types/node": "^20.1.0",
"async-retry": "^1.3.3",
"cli-color": "^2.0.3",
"cli-highlight": "^2.1.11",
Expand Down Expand Up @@ -45,7 +45,7 @@
"jest-specific-snapshot": "^7.0.0"
},
"engines": {
"node": "^16.17 || ^18"
"node": "^16.17 || ^18 || ^20"
},
"scripts": {
"test": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest tests",
Expand Down
2 changes: 1 addition & 1 deletion packages/wait-needs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# renovate: datasource=node depName=node versioning=node
ARG NODE_VERSION=18
ARG NODE_VERSION=20

FROM node:$NODE_VERSION as downloader
RUN apt-get update && \
Expand Down
2 changes: 1 addition & 1 deletion packages/wait-needs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"bin": "./bin/wait-needs",
"version": "1.147.30",
"engines": {
"node": "^16.17 || ^18"
"node": "^16.17 || ^18 || ^20"
}
}
2 changes: 1 addition & 1 deletion packages/webhook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN apt-get update && \
&& rm -rf /var/lib/apt/lists/*

# renovate: datasource=node depName=node versioning=node
ARG NODE_VERSION=18
ARG NODE_VERSION=20
ENV NODE_VERSION=$NODE_VERSION
RUN wget -qO- https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - \
&& apt-get install nodejs \
Expand Down
2 changes: 1 addition & 1 deletion packages/webhook/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN apt-get update && \
&& rm -rf /var/lib/apt/lists/*

# renovate: datasource=node depName=node versioning=node
ARG NODE_VERSION=18
ARG NODE_VERSION=20
ENV NODE_VERSION=$NODE_VERSION
RUN wget -qO- https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - \
&& apt-get install nodejs \
Expand Down
2 changes: 1 addition & 1 deletion packages/webhook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"supertest": "^6.2.2"
},
"engines": {
"node": "^16.17 || ^18"
"node": "^16.17 || ^18 || ^20"
},
"_moduleAliases": {
"~": "src"
Expand Down
2 changes: 1 addition & 1 deletion plugins/contrib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"json5": "2.2.3"
},
"engines": {
"node": "^16.17 || ^18"
"node": "^16.17 || ^18 || ^20"
}
}
2 changes: 1 addition & 1 deletion plugins/fabrique/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"private": true,
"packageManager": "[email protected]",
"engines": {
"node": "^16.17 || ^18"
"node": "^16.17 || ^18 || ^20"
}
}
11 changes: 9 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4542,7 +4542,7 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:*, @types/node@npm:^18.0.0, @types/node@npm:^18.14.2":
"@types/node@npm:*, @types/node@npm:^18.14.2":
version: 18.14.2
resolution: "@types/node@npm:18.14.2"
checksum: 129305df2c8e761c22cfa7a88ab780577864c8fc53a5b70cabbe4dd595e4b38b211b73a4380d0a18bf5da3634081bfa554cccf52dfd5e228e7a27de12c857aaf
Expand All @@ -4556,6 +4556,13 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:^20.1.0":
version: 20.1.1
resolution: "@types/node@npm:20.1.1"
checksum: 14240db486c09745ae3634004eda4c7996362322d1d0523c7ae3761c386f0a88996fa151cf3fa9d6bf1935f86fbade8ce4a16f82930247732f0d3481c777b200
languageName: node
linkType: hard

"@types/normalize-package-data@npm:^2.4.0":
version: 2.4.1
resolution: "@types/normalize-package-data@npm:2.4.1"
Expand Down Expand Up @@ -10773,7 +10780,7 @@ __metadata:
"@babel/preset-env": "npm:^7.18.2"
"@babel/preset-typescript": "npm:^7.17.12"
"@sentry/node": "npm:^7.30.0"
"@types/node": "npm:^18.0.0"
"@types/node": "npm:^20.1.0"
"@vercel/ncc": "npm:^0.36.1"
async-retry: "npm:^1.3.3"
cli-color: "npm:^2.0.3"
Expand Down

0 comments on commit 18e41bb

Please sign in to comment.