Skip to content

Commit

Permalink
ci: update workflows to install and build dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kajabi-bot committed Aug 20, 2024
1 parent a3c0dbd commit b192d16
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/release-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit b192d16

Please sign in to comment.