diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 10357dc3e8..915ede09c6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -54,6 +54,9 @@ jobs: - name: Yarn Install run: yarn install --frozen-lockfile + - name: Build + run: NODE_OPTIONS=--openssl-legacy-provider yarn build + - name: Lerna Boostrap run: yarn lerna bootstrap --ci diff --git a/.github/workflows/release-deploy.yml b/.github/workflows/release-deploy.yml index 2b22e23b3c..16119557d2 100644 --- a/.github/workflows/release-deploy.yml +++ b/.github/workflows/release-deploy.yml @@ -137,7 +137,7 @@ jobs: tags: | ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:${{ env.IMAGE_SHA_TAG }}-release-${{ env.POSTFIX }} - # This is kind of "hacky", but we were having problems with the Dockerfile doing a + # This is kind of "hacky", but we were having problems with the Dockerfile doing a # correct build for Storybook. This will build it on the runner and then just copy # over the folder deploy-storybook-site: @@ -150,6 +150,9 @@ jobs: # pulls all commits (needed for lerna / semantic release to correctly version) fetch-depth: "0" + - name: Yarn Install + run: yarn install --frozen-lockfile + - name: Build Storybook run: 'NODE_OPTIONS=--openssl-legacy-provider yarn build:react'