diff --git a/.github/workflows/check-docs.yml b/.github/workflows/check-docs.yml index ae26867a..1f2b5655 100644 --- a/.github/workflows/check-docs.yml +++ b/.github/workflows/check-docs.yml @@ -10,7 +10,7 @@ jobs: if: ${{ contains(github.event.pull_request.labels.*.name, 'area/documentation') }} strategy: matrix: - node-version: [16.x] + node-version: [18.x] steps: - name: Checkout Release from lens uses: actions/checkout@v3 diff --git a/.github/workflows/cron-test.yaml b/.github/workflows/cron-test.yaml index 3c751a52..ca4f2d18 100644 --- a/.github/workflows/cron-test.yaml +++ b/.github/workflows/cron-test.yaml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, macos-11, windows-2019] - node-version: [16.x] + node-version: [18.x] steps: - name: Checkout Release from lens uses: actions/checkout@v3 diff --git a/.github/workflows/daily-alpha.yml b/.github/workflows/daily-alpha.yml index b2f2290d..3cd3c4b9 100644 --- a/.github/workflows/daily-alpha.yml +++ b/.github/workflows/daily-alpha.yml @@ -15,7 +15,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: "16.x" + node-version: "18.x" registry-url: "https://npm.pkg.github.com" - name: Install specific npm version diff --git a/.github/workflows/electronegativity.yml b/.github/workflows/electronegativity.yml index 51fc19b6..57e85a83 100644 --- a/.github/workflows/electronegativity.yml +++ b/.github/workflows/electronegativity.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: "16" + node-version: "18" - uses: doyensec/electronegativity-action@v1.1 with: diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 455dd080..2e09a7da 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x] + node-version: [18.x] steps: - name: Checkout Release from lens uses: actions/checkout@v3 diff --git a/.github/workflows/mkdocs-manual.yml b/.github/workflows/mkdocs-manual.yml index 3b07c042..d6212f29 100644 --- a/.github/workflows/mkdocs-manual.yml +++ b/.github/workflows/mkdocs-manual.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x] + node-version: [18.x] steps: - name: Set up Python 3.7 uses: actions/setup-python@v2 diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 56b9e0fe..ca3f4c23 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x] + node-version: [18.x] steps: - name: Set up Python 3 uses: actions/setup-python@v2 @@ -52,7 +52,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x] + node-version: [18.x] needs: verify-docs steps: - name: Set up Python 3.7 diff --git a/.github/workflows/publish-release-npm.yml b/.github/workflows/publish-release-npm.yml index a3eeb56c..f8728aa8 100644 --- a/.github/workflows/publish-release-npm.yml +++ b/.github/workflows/publish-release-npm.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [16.x] + node-version: [18.x] steps: - name: Checkout Release uses: actions/checkout@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fbf7bdc2..f855dd82 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, macos-11, windows-2019] - node-version: [16.x] + node-version: [18.x] steps: - name: Checkout Release from lens uses: actions/checkout@v3 @@ -90,7 +90,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04] - node-version: [16.x] + node-version: [18.x] steps: - name: Checkout Release from lens uses: actions/checkout@v3 diff --git a/README.md b/README.md index 89c9f780..14acdf1f 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Lens Desktop is a standalone application for MacOS, Windows and Linux operating ### Prequisites -* Nodejs v16 +* Nodejs v16 || v18 ### Install diff --git a/open-lens/package.json b/open-lens/package.json index 2980e248..68e2b99e 100644 --- a/open-lens/package.json +++ b/open-lens/package.json @@ -43,7 +43,7 @@ "welcomeRoute": "/welcome" }, "engines": { - "node": ">=16 <17" + "node": ">=16 <19" }, "jest": { "collectCoverage": false, diff --git a/package-lock.json b/package-lock.json index ebcad3ab..11b03c19 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34158,7 +34158,7 @@ "webpack-node-externals": "^3.0.0" }, "engines": { - "node": ">=16 <17" + "node": ">=16 <19" } }, "packages/business-features/keyboard-shortcuts": { @@ -34302,7 +34302,7 @@ "webpack-node-externals": "^3.0.0" }, "engines": { - "node": ">=16 <17" + "node": ">=16 <19" }, "peerDependencies": { "@hapi/call": "^9.0.1", diff --git a/packages/core/package.json b/packages/core/package.json index d34e1a85..e4b4c565 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -68,7 +68,7 @@ "welcomeRoute": "/welcome" }, "engines": { - "node": ">=16 <17" + "node": ">=16 <19" }, "jest": { "collectCoverage": false, diff --git a/packages/core/src/main/__test__/prometheus-handler.test.ts b/packages/core/src/main/__test__/prometheus-handler.test.ts index 299d6644..6f738a72 100644 --- a/packages/core/src/main/__test__/prometheus-handler.test.ts +++ b/packages/core/src/main/__test__/prometheus-handler.test.ts @@ -186,7 +186,7 @@ describe("PrometheusHandler", () => { [2, 2], [2, 3], ])("should pick the first provider of %d success(es) between %d failure(s)", async (successes, failures) => { - const beforeSuccesses = Math.floor(successes / 2); + const beforeSuccesses = Math.floor(successes / 4); runInAction(() => { for (let i = 0; i < beforeSuccesses; i += 1) { diff --git a/packages/core/src/renderer/components/cluster/cluster-issues.tsx b/packages/core/src/renderer/components/cluster/cluster-issues.tsx index b65abe8a..2ac590be 100644 --- a/packages/core/src/renderer/components/cluster/cluster-issues.tsx +++ b/packages/core/src/renderer/components/cluster/cluster-issues.tsx @@ -101,10 +101,11 @@ class NonInjectedClusterIssues extends React.Component toggleDetails(selfLink))}