From b192d16e89d2bc89032a004f2a0c731fc0401929 Mon Sep 17 00:00:00 2001 From: Julian Skinner Date: Tue, 20 Aug 2024 13:33:31 -0500 Subject: [PATCH] ci: update workflows to install and build dependencies --- .github/workflows/publish.yml | 3 +++ .github/workflows/release-deploy.yml | 9 ++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) 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..6ee809d683 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,8 +150,11 @@ jobs: # pulls all commits (needed for lerna / semantic release to correctly version) fetch-depth: "0" - - name: Build Storybook - run: 'NODE_OPTIONS=--openssl-legacy-provider yarn build:react' + - name: Yarn Install + run: yarn install --frozen-lockfile + + - name: Build Everything + run: 'NODE_OPTIONS=--openssl-legacy-provider yarn build' - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1