Skip to content

Commit

Permalink
split off into setup-environment-secure
Browse files Browse the repository at this point in the history
  • Loading branch information
HowardBraham committed Feb 11, 2025
1 parent ecf34d0 commit 2bfd0b8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ jobs:
- name: Setup environment
if: ${{ steps.needs-beta-build.outputs.NEEDS_BETA_BUILD == 'true' }}
uses: metamask/github-tools/.github/actions/setup-environment@caching
with:
no-cache-for-release: 'true' # Turn off yarn cache as well
uses: metamask/github-tools/.github/actions/setup-environment-secure@caching

- name: Run beta build
if: ${{ steps.needs-beta-build.outputs.NEEDS_BETA_BUILD == 'true' }}
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/build-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup environment
uses: metamask/github-tools/.github/actions/setup-environment@caching
with:
no-cache-for-release: 'true' # Turn off yarn cache as well
uses: metamask/github-tools/.github/actions/setup-environment-secure@caching

- name: Build storybook
run: yarn storybook:build
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/publish-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup environment
uses: metamask/github-tools/.github/actions/setup-environment@caching
uses: metamask/github-tools/.github/actions/setup-environment-secure@caching
with:
fetch-depth: 0 # This is needed to get merge base to calculate bundle size diff
no-cache-for-release: 'true' # Turn off yarn cache as well

- name: Get merge base commit hash
id: get-merge-base
Expand Down

0 comments on commit 2bfd0b8

Please sign in to comment.