diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 44afe48..dd01def 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -7,7 +7,7 @@ on: types: [published] env: - NODE_VERSION: 16 + NODE_VERSION: 20 DEPLOYMENT_KIND: widget DEPLOYMENT_TARGET: weather DEPLOYMENT_STATIC_FILES: staffbase.user-profile-client.min.js @@ -42,6 +42,8 @@ jobs: run: yarn install --cwd samples/weather-forecast --frozen-lockfile - name: Build widget + env: + NODE_OPTIONS=--openssl-legacy-provider run: yarn --cwd samples/weather-forecast build - name: Prepare Deployment diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b4ce24c..0fbdd66 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,6 +1,6 @@ name: CI Tests env: - NODE_VERSION: 16 + NODE_VERSION: 20 on: push: paths-ignore: @@ -31,6 +31,8 @@ jobs: - name: Run Build working-directory: samples/weather-forecast + env: + NODE_OPTIONS=--openssl-legacy-provider run: yarn build - name: Run Lint diff --git a/samples/weather-forecast/yarn.lock b/samples/weather-forecast/yarn.lock index 241a295..bee761c 100644 --- a/samples/weather-forecast/yarn.lock +++ b/samples/weather-forecast/yarn.lock @@ -3958,9 +3958,9 @@ camelcase@^6.2.0: integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg== caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001248, caniuse-lite@^1.0.30001251, caniuse-lite@^1.0.30001400: - version "1.0.30001431" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001431.tgz" - integrity sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ== + version "1.0.30001633" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001633.tgz" + integrity sha512-6sT0yf/z5jqf8tISAgpJDrmwOpLsrpnyCdD/lOZKvKkkJK4Dn0X5i7KF7THEZhOq+30bmhwBlNEaqPUiHiKtZg== chalk@^2.0.0, chalk@^2.4.1: version "2.4.2"