Skip to content

Commit

Permalink
chore: Adding openssl-legacy-provider to satisfy webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
m-seidel committed Jun 13, 2024
1 parent 437fcf4 commit 9170782
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI Tests
env:
NODE_VERSION: 16
NODE_VERSION: 20
on:
push:
paths-ignore:
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions samples/weather-forecast/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9170782

Please sign in to comment.