ci: Add support for Node.js 18 (#5793)

* ci: Start supporting Node.js 18

Node.js 18 became the active LTS on 2022-10-25, and Node.js 16 went into maintenance mode.
https://github.com/nodejs/Release#release-schedule

We should also slowly deprecate node 16 support, [as support for it is ends much earlier now, due to support for openssl 1.1.1 ending](https://nodejs.org/en/blog/announcements/nodejs16-eol).

* Remove hashing algorithms that are not available in newer node.js/openssl

- RSA-MD4
- RSA-MDC2
- md4
- md4WithRSAEncryption
- mdc2
- mdc2WithRSA

* in e2e tests, resolve `localhost` to ipv4 instead of ipv6
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-06-02 13:23:28 +00:00
committed by GitHub
parent e8b51c8da9
commit 968b733fd6
20 changed files with 162 additions and 161 deletions

View File

@@ -8,20 +8,19 @@ on:
jobs:
run-e2e-tests:
name: E2E [Electron/Node 16]
name: E2E [Electron/Node 18]
uses: ./.github/workflows/e2e-reusable.yml
if: ${{ github.event.review.state == 'approved' && !contains(github.event.pull_request.labels.*.name, 'community') }}
with:
branch: ${{ github.event.pull_request.head.ref }}
user: ${{ github.event.pull_request.user.login || 'PR User' }}
spec: 'e2e/*'
run-env: base:16.18.1
secrets:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
post-e2e-tests:
runs-on: ubuntu-latest
name: E2E [Electron/Node 16] - Checks
name: E2E [Electron/Node 18] - Checks
needs: [run-e2e-tests]
if: always()
steps: